@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Zhi+Mang+Xing&family=Noto+Serif+SC:wght@400;700;900&display=swap');

/* 使用类似正楷的字体组合，fallback 为楷体 */
:root {
  --primary-gradient: linear-gradient(to right, rgb(22, 191, 253), rgb(203, 48, 102));
  --dark-bg: #0b0f19;
  --darker-bg: #05070a;
  --card-bg: rgba(20, 25, 40, 0.7);
  --text-main: #e0e6ed;
  --text-muted: #8a94a5;
  --accent-color: #16bffd;
  --font-kai: 'Noto Serif SC', 'KaiTi', '楷体', STKaiti, serif;
}

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

body {
  font-family: var(--font-kai);
  background-color: var(--dark-bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

/* 宇宙背景 Canvas */
#universe-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at center, #111a2f 0%, #05070a 100%);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: var(--accent-color);
}

/* 渐变文字工具 */
.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
}

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

.nav-links li a {
  font-size: 1.1rem;
  font-weight: 700;
}

.btn-register {
  background: var(--primary-gradient);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  color: #fff;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(203, 48, 102, 0.4);
  color: #fff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: var(--primary-gradient);
  filter: blur(150px);
  opacity: 0.15;
  z-index: -1;
  border-radius: 50%;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
  letter-spacing: 3px;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  box-shadow: 0 10px 20px rgba(22, 191, 253, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(203, 48, 102, 0.4);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid var(--accent-color);
  padding: 1rem 3rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(22, 191, 253, 0.1);
}

/* Sections */
section {
  padding: 100px 5%;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 900;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.pricing-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.pricing-card.recommended {
  transform: scale(1.05);
  border-color: #cb3066;
  box-shadow: 0 0 30px rgba(203, 48, 102, 0.2);
}

.pricing-card.recommended::before {
  content: '推荐选择';
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--primary-gradient);
  color: #fff;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-size: 0.9rem;
  font-weight: bold;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
}

.pricing-card.recommended:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-name {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.plan-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 2rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  -webkit-text-fill-color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  text-align: left;
}

.plan-features li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #16bffd;
  font-weight: bold;
}

.btn-plan {
  display: block;
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s;
}

.pricing-card.recommended .btn-plan, .btn-plan:hover {
  background: var(--primary-gradient);
  border-color: transparent;
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.article-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s;
}

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

.article-content {
  padding: 1.5rem;
}

.article-date {
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.article-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.read-more {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.read-more:hover {
  color: var(--accent-color);
}

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-card {
  background: rgba(255,255,255,0.02);
  padding: 2rem;
  border-radius: 20px;
  border-left: 4px solid var(--accent-color);
}

.stars {
  color: #ffd700;
  margin-bottom: 1rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  margin-bottom: 1rem;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.05);
}

.faq-q {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

.faq-a {
  color: var(--text-muted);
}

/* Footer & Tags */
footer {
  background: var(--darker-bg);
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}

.tags-container {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tag {
  background: rgba(255,255,255,0.05);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.3s;
}

.tag:hover {
  background: rgba(22, 191, 253, 0.2);
  color: #fff;
}

.copyright {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
  .hero-btns {
    flex-direction: column;
  }
}
