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

:root {
  --brand-green: #00e676;
  --brand-green-soft: rgba(0, 230, 118, 0.15);
  --bg-main: #121212;
  --bg-card: #1a1a1a;
  --bg-muted: #2a2a2a;
  --text: #ffffff;
  --text-secondary: #b3b3b3;
  --text-muted: #808080;
  --btn-bg: #e8e8e8;
  --btn-text: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans SC', -apple-system, sans-serif;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.7) 0%, rgba(18,18,18,0.92) 100%),
    url('qishuicdn.svg') center/cover no-repeat fixed;
  background-color: var(--bg-main);
  color: var(--text);
  min-height: 100vh;
}

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

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

.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

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

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

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

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

.nav-btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-left {
    order: 1;
  }
  .hero-logo {
    justify-content: center;
  }
  .hero-right {
    order: 2;
  }
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .download-row {
    flex-direction: column;
  }
}

/* Logo 区域 - 汽水(绿) 音乐(白) */
.hero-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.hero-logo img {
  width: 80px;
  height: 80px;
  border-radius: 20px;
}

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

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

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

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

/* 简介信息 */
.intro {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  border-left: 3px solid var(--brand-green);
}

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

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

/* 下载按钮 */


.download-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.download-btn-wrap {
  flex: 1;
}

.dl-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.dl-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.2);
}

.dl-btn i {
  font-size: 2rem;
  flex-shrink: 0;
}

.dl-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dl-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--btn-text);
}

.dl-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.download-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-decoration: none;
}

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

/* 右侧图片展示 - 桌面版 + 手机版并置 */
.hero-right {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  min-height: 360px;
}

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

.hero-screen.desktop {
  max-width: 75%;
  height: auto;
  display: block;
  z-index: 1;
}

.hero-screen.mobile {
  max-width: 32%;
  height: auto;
  display: block;
  position: absolute;
  right: -5%;
  bottom: 0;
  z-index: 2;
}

@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%;
  }
}

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

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

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.review-stars {
  color: var(--brand-green);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

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

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

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

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

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

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

.knowledge-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.knowledge-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--brand-green);
}

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

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

.knowledge-card a {
  color: var(--brand-green);
  text-decoration: none;
}

.knowledge-card a:hover {
  text-decoration: underline;
}

.external-links {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

.external-links span {
  color: var(--text-muted);
  margin-right: 0.5rem;
}

.external-links a {
  color: var(--brand-green);
  text-decoration: none;
  font-size: 0.8rem;
}

.external-links a:hover {
  text-decoration: underline;
}

.external-links i {
  font-size: 0.7em;
  margin-left: 0.25rem;
}

/* 新闻资讯板块 */
.news-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.news-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  color: var(--text);
}

.section-intro {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Tab 按钮 */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-muted);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.625rem 1.5rem;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  background: rgba(0, 230, 118, 0.1);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.tab-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: var(--bg-main);
}

/* 新闻网格 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.news-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 230, 118, 0.3);
}

.news-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--brand-green);
  color: var(--bg-main);
  padding: 0.375rem 0.875rem;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.news-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-content h3 a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.news-content h3 a:hover {
  color: var(--brand-green);
}

.news-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-meta {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-meta i {
  margin-right: 0.375rem;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-green);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap 0.2s;
}

.news-link:hover {
  gap: 0.75rem;
}

.news-link i {
  font-size: 0.85em;
}

/* 查看更多 */
.news-more {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--brand-green);
  border: 2px solid var(--brand-green);
  padding: 0.875rem 2rem;
  border-radius: 28px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-more:hover {
  background: var(--brand-green);
  color: var(--bg-main);
}

.btn-more i {
  transition: transform 0.2s;
}

.btn-more:hover i {
  transform: translateX(4px);
}

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

/* 响应式 */
@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-tabs {
    gap: 0.5rem;
  }
  
  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
}

/* 页脚 */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
