:root {
  --primary-color: #007AFF;
  --secondary-color: #5856D6;
  --text-color: #333;
  --light-bg: #f8f9fa;
}

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

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

.header {
  position: fixed;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
  justify-content: center;
}

.hero-content {
  flex: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: transform 0.2s;
  font-size: 0.9rem;
}

.app-store-button:hover {
  transform: scale(1.05);
}

.footer {
  background: #333;
  color: white;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .app-grid {
    grid-template-columns: 1fr;
  }
}

/* 应用展示区域样式 */
.apps {
  padding: 4rem 2rem;
  background: white;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.app-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-card:hover {
  transform: translateY(-5px);
}

.app-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
}

.app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

.app-info {
  text-align: center;
  width: 100%;
}

.app-info h3 {
  margin: 0.5rem 0;
  color: var(--text-color);
}

.app-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  font-size: 0.9rem;
  color: #666;
}

.category {
  background: var(--light-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rating i {
  color: #FFD700;
  /* 星星颜色 */
}

/* 联系区域样式 */
.contact {
  padding: 5rem 2rem;
  background: var(--light-bg);
}

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

.contact h2 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 4rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 250px;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
}

.contact-details {
  text-align: left;
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

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

.contact-details a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    min-width: auto;
  }

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

.logo {
  height: 30px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
}