:root {
  --bg-deep:       #0d0519;
  --bg-base:       #1a1a2e;
  --bg-mid:        #16213e;
  --accent-blue:   #51A0DE;
  --accent-purple: #7B68EE;
  --accent-amber:  #fac679;
  --accent-pink:   #EC4899;
  --text-primary:  rgba(204, 204, 204, 1);
  --text-secondary:rgba(150, 150, 150, 1);
  --glass-bg:      rgba(39, 39, 39, 0.5);
  --glass-border:  rgba(255, 255, 255, 0.06);
}

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

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, sans-serif;
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-base) 50%, var(--bg-mid) 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Hero ── */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  overflow: hidden;
}

#star-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 24px;
  box-shadow: 0 0 40px rgba(81, 160, 222, 0.2);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: 'LXGW WenKai Screen', 'PingFang SC', serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(81, 160, 222, 0.15);
}

.hero-sub {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 24px rgba(81, 160, 222, 0.2);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:active { opacity: 0.8; transform: translateY(0); }

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: var(--text-secondary);
  animation: float 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Features ── */
#features {
  padding: 80px 24px;
  text-align: center;
}

.section-label {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.feature-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  flex: 1 1 240px;
  max-width: 280px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(81, 160, 222, 0.1);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Trust ── */
#trust {
  padding: 60px 24px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.015);
}

.trust-items {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 200px;
  max-width: 240px;
}

.trust-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(81, 160, 222, 0.08);
  border: 1px solid rgba(81, 160, 222, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.trust-text strong {
  display: block;
  font-size: 13px;
  color: #fff;
  margin-bottom: 4px;
}

.trust-text span {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── Bottom CTA ── */
#bottom-cta {
  padding: 80px 24px;
  text-align: center;
}

.invite-note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .feature-cards { flex-direction: column; align-items: center; }
  .feature-card { max-width: 100%; }
  .trust-items { flex-direction: column; align-items: center; }
}
