/* 全局样式 */
:root {
  --primary-color: #FF9440;
  --secondary-color: #86868b;
  --background-color: #ffffff;
  --text-color: #1d1d1f;
  --section-gap: 80px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.5;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
  font-size: 17px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #E67E22;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  border-radius: 980px;
  padding: 12px 24px;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn:hover {
  background-color: #E67E22;
  color: white;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.logo a {
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.logo-img {
  height: 60px;
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--text-color);
  font-size: 16px;
}

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

.nav-links a.active,
.nav-links a:active,
.nav-links a:focus {
  color: #E67E22;
  font-weight: 500;
}

.language-selector {
  position: relative;
  margin-left: 30px;
}

.language-selector select {
  appearance: none;
  background-color: transparent;
  border: none;
  padding: 8px 16px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text-color);
  cursor: pointer;
}

.language-selector select:focus,
.language-selector select:active {
  color: #E67E22;
  outline: none;
}

/* 英雄区 */
.hero {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 24px;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--secondary-color);
}

.hero-image {
  margin-top: 60px;
  max-width: 100%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

/* 全屏英雄区 */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  background: none;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 0;
}

.hero-fullscreen h1 {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-fullscreen p {
  font-size: 28px;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-fullscreen .btn {
  font-size: 20px;
  padding: 16px 40px;
  background-color: rgba(255, 148, 64, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-fullscreen .btn:hover {
  background-color: rgba(230, 126, 34, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* 功能区 */
.features {
  padding: var(--section-gap) 0;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
}

.theme-subtitle {
  text-align: center;
  font-size: 20px;
  color: var(--secondary-color);
  margin-top: -40px;
  margin-bottom: 60px;
  font-weight: 400;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.feature-item {
  text-align: center;
  padding: 20px;
}

.feature-item img {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-item p {
  color: var(--secondary-color);
}

/* 主题展示 */
.themes {
  padding: var(--section-gap) 0;
  background-color: #f5f5f7;
}

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

.theme-item {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding: 10px;
  text-align: center;
}

.theme-item:hover {
  transform: translateY(-10px);
}

.theme-item img {
  width: 66.67%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 20px !important;
}

.theme-info {
  padding: 20px;
  text-align: center;
}

.theme-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.theme-info p {
  color: var(--secondary-color);
  font-size: 15px;
}

/* 下载区 */
.download {
  padding: var(--section-gap) 0;
  text-align: center;
}

.download h2 {
  margin-bottom: 40px;
}

.app-badge {
  width: 100px;
  transition: transform 0.3s ease;
  border-radius: 20px;
}

.app-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

/* 联系我们 */
.contact {
  padding: var(--section-gap) 0;
  background-color: #f5f5f7;
}

.contact-info {
  max-width: 600px;
  margin: 0 auto;
}

.contact-info p {
  margin-bottom: 8px;
}

/* 页脚 */
.footer {
  background-color: #f5f5f7;
  padding: 40px 0;
  color: var(--secondary-color);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
}

.footer-links-group {
  margin-right: 60px;
  margin-bottom: 30px;
}

.footer-links-group h4 {
  font-size: 14px;
  color: var(--text-color);
  margin-bottom: 16px;
}

.footer-links-group ul {
  list-style: none;
}

.footer-links-group li {
  margin-bottom: 10px;
}

.footer-links-group a {
  color: var(--secondary-color);
  font-size: 14px;
}

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

.footer-legal {
  width: 100%;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #d2d2d7;
  font-size: 12px;
}

/* 隐私政策和用户协议页面 */
.legal-content {
  padding: 100px 0;
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h1 {
  margin-bottom: 40px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
}

.legal-content p, .legal-content li {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }
  
  .hero p {
    font-size: 20px;
  }
  
  /* 全屏英雄区响应式 */
  .hero-fullscreen h1 {
    font-size: 48px;
  }
  
  .hero-fullscreen p {
    font-size: 20px;
    padding: 0 20px;
  }
  
  .hero-fullscreen .btn {
    font-size: 18px;
    padding: 12px 30px;
  }
  
  .hero-content {
    padding: 40px 0;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .theme-subtitle {
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 40px;
  }
  
  .theme-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .theme-info h3 {
    font-size: 18px;
  }
  
  .theme-info p {
    font-size: 14px;
  }
  
  .navbar-container {
    flex-direction: column;
  }
  
  .nav-links {
    margin-top: 20px;
  }
  
  .nav-links li {
    margin-left: 15px;
    margin-right: 15px;
  }
  
  .footer-container {
    flex-direction: column;
  }
  
  .footer-links {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .theme-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .theme-item img {
    width: 80%;
  }
} 