:root {
  --purple: #8b5cf6;
  --purple-dark: #2e1065;
  --purple-light: #ddd6fe;
  --purple-bg: #faf8ff;
  --yellow: #fde047;
  --gray-text: #4b5563;
  --gray-light: #9ca3af;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 20px rgba(139, 92, 246, 0.12);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--purple-bg);
  color: var(--gray-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--purple-light);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-group img {
  height: 32px;
  width: auto;
}
.logo-group span {
  font-size: 20px;
  font-weight: 800;
  color: var(--purple-dark);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-text);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--purple);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
}
.nav-download {
  background: var(--purple);
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--purple-dark);
  cursor: pointer;
}

/* Banner */
.banner {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 50%, #fde047 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.banner-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.banner-text {
  flex: 1;
  color: var(--white);
}
.banner-text h1 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--white);
}
.banner-text p {
  font-size: 17px;
  opacity: 0.95;
  margin-bottom: 28px;
  max-width: 480px;
}
.banner-btns {
  display: flex;
  gap: 16px;
}
.btn-primary {
  background: var(--white);
  color: var(--purple);
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s;
  display: inline-block;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}
.banner-img {
  flex: 0 0 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transform: rotate(2deg);
}
.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section Common */
section {
  padding: 60px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--purple-dark);
  margin-bottom: 8px;
}
.section-head p {
  color: var(--gray-light);
  font-size: 15px;
}
.card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--purple-light);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--purple);
}
.card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #f3f4f6;
}
.card-body {
  padding: 14px 16px 18px;
}
.card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--purple-dark);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-body .desc {
  font-size: 13px;
  color: var(--gray-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tag {
  background: #f3e8ff;
  color: var(--purple);
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 500;
}
.score {
  color: var(--purple);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}
.star {
  color: #eab308;
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* Rankings */
.rank-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.rank-list {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--purple-light);
}
.rank-list h3 {
  font-size: 18px;
  color: var(--purple-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rank-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}
.rank-item:last-child { border-bottom: none; }
.rank-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f3e8ff;
  color: var(--purple);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.rank-item:nth-child(2) .rank-num { background: var(--purple); color: #fff; }
.rank-info { flex: 1; }
.rank-info strong { display: block; font-size: 14px; color: var(--purple-dark); }
.rank-info span { font-size: 12px; color: var(--gray-light); }

/* Radar */
.radar-section {
  background: #f5f3ff;
}
.radar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.radar-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--purple-light);
}
.bar-item { margin-bottom: 20px; }
.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--purple-dark);
  margin-bottom: 8px;
}
.bar-track {
  height: 12px;
  background: #ede9fe;
  border-radius: 6px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--purple), var(--yellow));
  transition: width 0.3s;
}
.radar-list .radar-item {
  background: var(--white);
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--purple-light);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: border-color 0.2s;
}
.radar-item:hover { border-color: var(--purple); }
.radar-item h4 { font-size: 15px; color: var(--purple-dark); margin-bottom: 4px; }
.radar-item p { font-size: 13px; color: var(--gray-light); }
.radar-badge {
  background: var(--yellow);
  color: var(--purple-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Comments */
.comment-section {
  background: var(--white);
}
.cloud-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}
.cloud-tags span {
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  cursor: default;
  transition: transform 0.2s;
}
.cloud-tags span:nth-child(odd) { background: #f3e8ff; color: var(--purple); }
.cloud-tags span:nth-child(even) { background: #fef9c3; color: #854d0e; }
.cloud-tags span:hover { transform: scale(1.05); }
.comment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.comment-card {
  background: var(--white);
  border: 1px dashed var(--purple-light);
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-card:hover {
  border-color: var(--purple);
  box-shadow: var(--shadow);
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.comment-meta strong { display: block; font-size: 13px; color: var(--purple-dark); }
.comment-meta span { font-size: 12px; color: var(--gray-light); }
.comment-text {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 12px;
  line-height: 1.6;
}
.comment-foot {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-light);
}
.like-count { color: var(--purple); font-weight: 600; }

/* Features */
.features-section { background: var(--purple-bg); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  background: var(--white);
  padding: 28px 20px;
  border-radius: 16px;
  border: 1px solid var(--purple-light);
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-item:hover { transform: translateY(-4px); border-color: var(--purple); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3e8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--purple);
  font-weight: 700;
}
.feature-item h3 { font-size: 16px; color: var(--purple-dark); margin-bottom: 8px; }
.feature-item p { font-size: 13px; color: var(--gray-text); }

/* Reviews */
.reviews-section { background: var(--white); }
.review-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.review-item {
  background: var(--purple-bg);
  border-left: 4px solid var(--purple);
  border-radius: 8px;
  padding: 16px 20px;
}
.review-item p { font-size: 14px; color: var(--gray-text); margin-bottom: 8px; }
.review-item span { font-size: 12px; color: var(--gray-light); }
.review-stars { color: #eab308; font-size: 13px; margin-bottom: 6px; }

/* Download */
.download-section {
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.download-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.download-section p { font-size: 16px; opacity: 0.9; margin-bottom: 28px; }
.btn-download {
  display: inline-block;
  background: var(--yellow);
  color: var(--purple-dark);
  padding: 14px 44px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 800;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
}

/* Floating Btn */
.float-download {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  background: var(--yellow);
  color: var(--purple-dark);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(139, 92, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}

/* Footer */
footer {
  background: var(--white);
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--gray-light);
  font-size: 13px;
}
footer p { margin-bottom: 6px; }
footer a { color: var(--gray-light); }
footer a:hover { color: var(--purple); }

/* Responsive */
@media (max-width: 1024px) {
  .banner-text h1 { font-size: 30px; }
  .grid-3, .comment-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .radar-layout { grid-template-columns: 1fr; }
  .banner-img { flex: 0 0 280px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .banner-inner { flex-direction: column; text-align: center; }
  .banner-text p { margin: 0 auto 24px; }
  .banner-btns { justify-content: center; }
  .banner-img { flex: none; width: 80%; transform: none; }
  .grid-3, .grid-2, .rank-wrap, .comment-grid, .review-list, .feature-grid {
    grid-template-columns: 1fr;
  }
  .section-head h2 { font-size: 22px; }
  .banner-text h1 { font-size: 24px; }
  .download-section h2 { font-size: 24px; }
  .float-download { right: 16px; bottom: 16px; font-size: 13px; padding: 10px 18px; }
}