@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
  --brand-blue: #3296FA;
  --brand-blue-soft: rgba(50, 150, 250, 0.12);
  --brand-blue-dark: #1a7de6;
  --bg-main: #0d1117;
  --bg-card: #161b22;
  --bg-muted: #21262d;
  --text: #ffffff;
  --text-secondary: #b0b8c4;
  --text-muted: #6e7681;
  --btn-bg: #e8e8e8;
  --btn-text: #1a1a1a;
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(50, 150, 250, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(50, 100, 220, 0.08) 0%, transparent 50%),
    var(--bg-main);
  background-color: var(--bg-main);
  color: var(--text);
  min-height: 100vh;
}

/* 顶部导航 */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.nav-logo img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}

.nav-logo span {
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

/* 主内容区 */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
  align-items: center;
  min-height: calc(100vh - 80px);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-right {
    order: 1;
  }
  .hero-left {
    order: 2;
  }
  .hero-logo {
    justify-content: center;
  }
}

/* Logo 区域 */
.hero-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.hero-logo img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.hero-logo-text {
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-logo-text .brand {
  color: var(--brand-blue);
}

.hero-logo-text .white {
  color: var(--text);
  font-weight: 400;
  font-size: 1.6rem;
}

.hero-slogan {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
  font-weight: 400;
}

/* 简介信息 */
.intro {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.75rem;
  border-left: 3px solid var(--brand-blue);
}

.intro h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--brand-blue);
}

.intro p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 下载按钮 */
.download-row {
  display: flex;
  gap: 0.875rem;
}

.download-platform {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--brand-blue);
  color: #fff;
  padding: 0.9rem 1.5rem;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.download-platform:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.download-platform i {
  font-size: 1.2rem;
}

.download-links {
  margin-top: 1.25rem;
  display: flex;
  gap: 1.5rem;
}

.download-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.download-links a:hover {
  color: var(--brand-blue);
}

/* 右侧图片展示 */
.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 340px;
}

.hero-screens {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  max-width: 560px;
}

.hero-screen.desktop {
  max-width: 78%;
  height: auto;
  display: block;
  z-index: 1;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.hero-screen.mobile {
  max-width: 26%;
  height: auto;
  display: block;
  position: absolute;
  right: -3%;
  bottom: 0;
  z-index: 2;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
  .hero-screens {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .hero-screen.desktop {
    max-width: 85%;
  }
  .hero-screen.mobile {
    position: static;
    max-width: 45%;
  }
}

/* 核心功能区 */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 1.5rem;
}

.features-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(50, 150, 250, 0.2);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.8rem;
  border-radius: 12px;
  background: var(--brand-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-blue);
}

.feature-card h3 {
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 知识卡片区 */
.knowledge-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem 1.5rem;
}

.knowledge-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
  color: var(--text);
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
}

.knowledge-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 3px solid var(--brand-blue);
  transition: transform 0.2s;
}

.knowledge-card:hover {
  transform: translateY(-2px);
}

.knowledge-card h3 {
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.knowledge-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* 用户评价区 */
.reviews-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 3rem;
}

.reviews-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.review-stars {
  color: #ffd700;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.review-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.review-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
}

.review-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* 页脚 */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin: 0 2rem;
}
