/* CSS变量定义 - 使用App主题色彩系统 */
:root {
  /* 主色调系统 */
  --primary-color: #95A0FF;        /* 蓝紫色 - 主要按钮、链接 */
  --primary-light: #B8C1FF;        /* 浅蓝紫 - 悬停状态 */
  --primary-dark: #7A8BFF;         /* 深蓝紫 - 按下状态 */
  
  /* 次色 (Secondary) */
  --secondary-color: #DFAFFF;      /* 淡紫色 - 次要元素 */
  --secondary-light: #E8C4FF;      /* 浅淡紫 - 背景渐变 */
  
  /* 辅助色 (Accent) */
  --accent-pink: #FF9ABC;          /* 粉红色 - 强调、点赞 */
  --accent-orange: #FFCA84;        /* 橙色 - 警告、提示 */
  
  /* 基础色 */
  --white: #FFFFFF;                /* 白色 - 背景、文字 */
  --black: #000000;                /* 黑色 - 深色文字 */
  
  /* 灰度色系统 */
  --grey-900: #333333;             /* 深灰 - 主标题 */
  --grey-700: #555555;             /* 中深灰 - 副标题 */
  --grey-500: #999999;             /* 中灰 - 辅助文字 */
  --grey-300: #CCCCCC;             /* 浅灰 - 边框 */
  --grey-100: #F2F2F2;             /* 极浅灰 - 背景 */
  
  /* 状态色 */
  --success-color: #4CAF50;        /* 成功 - 绿色 */
  --warning-color: #FF9800;        /* 警告 - 橙色 */
  --error-color: #B00020;          /* 错误 - 红色 */
  --info-color: #2196F3;           /* 信息 - 蓝色 */
  
  /* 渐变效果 */
  --gradient-primary: linear-gradient(135deg, #95A0FF 0%, #DFAFFF 100%);
  --gradient-accent: linear-gradient(135deg, #FF9ABC 0%, #FFCA84 100%);
  --gradient-hero: linear-gradient(135deg, #95A0FF 0%, #FF9ABC 50%, #FFCA84 100%);
  
  /* 字体 */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.6;
  
  /* 间距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* 圆角 */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  
  /* 阴影 */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.1);
}

/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--grey-900);
  background-color: var(--white);
  overflow-x: hidden;
}

/* 通用样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--spacing-sm);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--grey-700);
  max-width: 600px;
  margin: 0 auto;
}

/* 按钮样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

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

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.125rem;
  min-width: 160px;
}

/* 渐变文字 */
.gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 头部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--grey-300);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo h2 {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-menu a {
  color: var(--grey-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--grey-700);
  margin: 3px 0;
  transition: 0.3s;
}

/* 英雄区域 */
.hero {
  padding: 120px 0 var(--spacing-xxl);
  background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--grey-700);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  animation: fadeInRight 1s ease-out;
}

/* 手机模型 */
.phone-mockup {
  width: 300px;
  height: 600px;
  background: var(--grey-900);
  border-radius: 30px;
  padding: 20px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.app-preview {
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  position: relative;
}

.app-header {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.app-nav {
  display: flex;
  gap: 8px;
}

.nav-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.app-content {
  padding: 20px;
  height: calc(100% - 80px);
}

.wardrobe-preview {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.wardrobe-item {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.outfit-suggestion {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  height: 200px;
}

.outfit-card {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

/* 功能特色 */
.features {
  padding: var(--spacing-xxl) 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--grey-300);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: var(--grey-700);
  line-height: 1.6;
}

/* 数据展示 */
.statistics {
  padding: var(--spacing-xxl) 0;
  background: var(--gradient-primary);
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-lg);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  color: var(--white);
}

.stat-label {
  font-size: 1.125rem;
  font-weight: 500;
  opacity: 0.9;
}

/* 用户评价 */
.testimonials {
  padding: var(--spacing-xxl) 0;
  background: var(--grey-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--spacing-xl);
}

.testimonial-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.testimonial-content {
  margin-bottom: var(--spacing-lg);
}

.testimonial-content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--grey-700);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.author-name {
  font-weight: 600;
  color: var(--grey-900);
}

.author-title {
  color: var(--grey-500);
  font-size: 0.875rem;
}

/* 下载区域 */
.download {
  padding: var(--spacing-xxl) 0;
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
}

.download-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.download-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.download-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.5rem;
}

.btn-text {
  text-align: left;
}

.btn-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.btn-store {
  font-size: 1.125rem;
  font-weight: 600;
}


/* 页脚 */
.footer {
  background: var(--grey-900);
  color: var(--white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.footer-section h3 {
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  color: var(--grey-500);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
  color: var(--grey-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--grey-700);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-links a {
  color: var(--grey-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* 备案号样式 */
.footer-icp {
  margin-top: var(--spacing-md);
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--grey-700);
}

.footer-icp p {
  color: var(--grey-500);
  font-size: 0.9rem;
  margin: 0;
}

/* 动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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