:root {
  --bg-deep: #0a0a10;
  --bg-panel: #12121a;
  --bg-panel-light: #1a1a24;
  --text-main: #e0e0e8;
  --text-dim: #8a8a9e;
  --accent-1: #b388ff;
  --accent-2: #ff79c6;
  --accent-3: #00e5ff;
  --glow-1: rgba(179, 136, 255, 0.3);
  --glow-2: rgba(255, 121, 198, 0.3);
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-card: 16px;
  --radius-btn: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.5px; }
h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 2rem; position: relative; display: inline-block; }
h2::after {
  content: ''; position: absolute; left: 0; bottom: -8px; width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); border-radius: 2px;
}
h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-main); }
p { color: var(--text-dim); font-size: 1rem; margin-bottom: 1rem; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 100px 0; position: relative; border-bottom: 1px solid rgba(255,255,255,0.03); }
.section-num {
  position: absolute; top: 60px; left: 5%; font-size: 8rem; font-family: var(--font-serif);
  color: rgba(255,255,255,0.02); font-weight: 700; pointer-events: none;
}

/* Nav */
header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(10, 10, 16, 0.8); backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}
header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.5); border-bottom: 1px solid rgba(179,136,255,0.1); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo-group { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; }
.logo-group img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--text-dim); font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-1); }
.btn-nav {
  padding: 8px 24px; border-radius: var(--radius-btn);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff; font-weight: 600; font-size: 0.9rem; transition: transform 0.3s, box-shadow 0.3s;
}
.btn-nav:hover { transform: translateY(-2px); box-shadow: 0 4px 15px var(--glow-2); }

/* 1. Brand Bar */
.brand-bar { padding: 20px 0; text-align: center; font-size: 0.9rem; color: var(--text-dim); border-bottom: 1px solid rgba(255,255,255,0.03); }
.brand-bar span { margin: 0 12px; }
.brand-bar span::after { content: '·'; margin-left: 24px; color: var(--accent-1); opacity: 0.5; }
.brand-bar span:last-child::after { content: ''; margin: 0; }
.brand-bar span { animation: textFadeIn 2s ease forwards; opacity: 0; }
.brand-bar span:nth-child(1) { animation-delay: 0.2s; }
.brand-bar span:nth-child(2) { animation-delay: 0.4s; }
.brand-bar span:nth-child(3) { animation-delay: 0.6s; }
.brand-bar span:nth-child(4) { animation-delay: 0.8s; }
.brand-bar span:nth-child(5) { animation-delay: 1.0s; }
@keyframes textFadeIn { to { opacity: 1; } }

/* 2. Hero */
.hero { padding-top: 120px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(179,136,255,0.1) 0%, transparent 60%); }
.hero-sub { font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px; }
.hero-actions { display: flex; justify-content: center; gap: 20px; margin-bottom: 60px; }
.btn-primary, .btn-secondary {
  padding: 14px 40px; border-radius: var(--radius-btn); font-size: 1rem; font-weight: 600;
  transition: all 0.3s; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #fff; box-shadow: 0 4px 20px var(--glow-1);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--glow-2); }
.btn-secondary {
  background: transparent; border: 1px solid var(--accent-1); color: var(--accent-1);
}
.btn-secondary:hover { background: rgba(179,136,255,0.1); }

/* Chat Demo */
.chat-demo {
  width: 100%; max-width: 900px; margin: 0 auto; border-radius: var(--radius-card);
  background: var(--bg-panel); border: 1px solid rgba(255,255,255,0.05);
  aspect-ratio: 16/9; position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5); padding: 30px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.chat-bubble {
  max-width: 70%; padding: 12px 20px; border-radius: 16px; font-size: 0.95rem; margin-bottom: 16px;
  opacity: 0; animation: bubbleFloat 1s ease forwards;
}
.chat-bubble.left { background: var(--bg-panel-light); border-bottom-left-radius: 4px; align-self: flex-start; margin-left: 20px; }
.chat-bubble.right { background: rgba(179,136,255,0.15); border: 1px solid rgba(179,136,255,0.2); border-bottom-right-radius: 4px; align-self: flex-end; margin-right: 20px; }
.chat-bubble:nth-child(1) { animation-delay: 0.5s; }
.chat-bubble:nth-child(2) { animation-delay: 1.5s; }
.chat-bubble:nth-child(3) { animation-delay: 2.5s; }
.chat-bubble:nth-child(4) { animation-delay: 3.5s; }
@keyframes bubbleFloat { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } }

/* 3. World */
.category-tabs { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }
.tab { padding: 8px 24px; border-radius: 20px; background: var(--bg-panel); color: var(--text-dim); cursor: pointer; transition: 0.3s; border: 1px solid transparent; }
.tab.active { background: rgba(179,136,255,0.1); border-color: var(--accent-1); color: var(--accent-1); }
.char-track { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.char-track::-webkit-scrollbar { display: none; }
.char-card {
  min-width: 260px; background: var(--bg-panel); border-radius: var(--radius-card); padding: 24px;
  border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s;
}
.char-card:hover { transform: translateY(-5px); border-color: rgba(255,121,198,0.3); }
.char-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.char-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--accent-1); object-fit: cover; }
.char-info h4 { margin: 0; font-size: 1.1rem; }
.char-info span { font-size: 0.8rem; color: var(--text-dim); display: block; margin-top: 4px; }
.tag-group { display: flex; gap: 8px; margin-bottom: 16px; }
.tag { font-size: 0.75rem; padding: 4px 10px; border-radius: 12px; background: rgba(255,255,255,0.05); color: var(--text-dim); }
.tag.model { color: var(--accent-3); border: 1px solid rgba(0,229,255,0.2); }
.char-desc { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.btn-chat { width: 100%; padding: 10px; border-radius: var(--radius-btn); background: transparent; border: 1px solid var(--accent-2); color: var(--accent-2); cursor: pointer; transition: 0.3s; }
.btn-chat:hover { background: rgba(255,121,198,0.1); }

/* 4. Marquee */
.marquee-wrap { overflow: hidden; white-space: nowrap; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-wrap:hover .marquee-content { animation-play-state: paused; }
.marquee-item { font-size: 1.2rem; margin: 0 20px; color: var(--text-dim); }
.marquee-item span { color: var(--accent-1); margin-left: 8px; font-size: 0.9rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 5. Models */
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.model-card { background: var(--bg-panel-light); padding: 30px 24px; border-radius: var(--radius-card); text-align: center; border: 1px solid rgba(255,255,255,0.03); transition: 0.3s; }
.model-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.model-icon { width: 48px; height: 48px; margin: 0 auto 16px; background: rgba(179,136,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-1); font-weight: bold; font-size: 1.2rem; }
.model-card h4 { margin-bottom: 8px; }
.model-card ul { text-align: left; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; padding-left: 16px; }
.model-card ul li { position: relative; margin-bottom: 4px; }
.model-card ul li::before { content: '•'; position: absolute; left: -12px; color: var(--accent-2); }
.model-btn { padding: 6px 20px; border-radius: 16px; background: transparent; border: 1px solid var(--text-dim); color: var(--text-dim); font-size: 0.8rem; cursor: pointer; transition: 0.3s; }
.model-btn:hover { border-color: var(--accent-3); color: var(--accent-3); }

/* 6. Experience */
.exp-row { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.exp-row:nth-child(even) { flex-direction: row-reverse; }
.exp-text { flex: 1; }
.exp-img { flex: 1; border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); }
.exp-img img { width: 100%; height: auto; display: block; }

/* 7. Channels */
.channel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.channel-item {
  background: var(--bg-panel); border-radius: var(--radius-card); padding: 30px 10px; text-align: center;
  position: relative; border: 1px solid rgba(255,255,255,0.03); transition: 0.3s; cursor: pointer;
}
.channel-item:hover { background: var(--bg-panel-light); transform: scale(1.02); }
.channel-icon { font-size: 2rem; margin-bottom: 12px; }
.channel-name { font-size: 0.95rem; margin-bottom: 8px; }
.channel-badge { font-size: 0.75rem; color: var(--accent-1); background: rgba(179,136,255,0.1); padding: 2px 8px; border-radius: 10px; }

/* 8. Ranking */
.rank-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.rank-col h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--accent-2); border-left: 3px solid var(--accent-2); padding-left: 10px; }
.rank-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.03); }
.rank-num { font-size: 1rem; font-weight: 700; color: var(--text-dim); width: 20px; }
.rank-item:nth-child(1) .rank-num, .rank-item:nth-child(2) .rank-num, .rank-item:nth-child(3) .rank-num { color: var(--accent-1); text-shadow: 0 0 8px var(--glow-1); }
.rank-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.rank-info { flex: 1; }
.rank-info h5 { font-size: 0.95rem; margin-bottom: 2px; }
.rank-info span { font-size: 0.75rem; color: var(--text-dim); }
.rank-score { font-size: 0.85rem; color: var(--accent-3); }

/* 9. Interactive */
.interactive-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.inter-card { background: var(--bg-panel); border-radius: var(--radius-card); padding: 30px; border: 1px solid rgba(255,255,255,0.05); }
.inter-card h4 { margin-bottom: 16px; font-size: 1.2rem; }
.blind-box { height: 120px; background: rgba(0,0,0,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 1px dashed var(--accent-2); transition: 0.3s; }
.blind-box:hover { background: rgba(255,121,198,0.05); }
.blind-box span { font-size: 0.9rem; color: var(--accent-2); }
.branch-opts { display: flex; flex-direction: column; gap: 10px; }
.branch-btn { padding: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: var(--text-main); text-align: left; cursor: pointer; transition: 0.3s; }
.branch-btn:hover { background: rgba(179,136,255,0.1); border-color: var(--accent-1); }
.voice-line { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.voice-name { width: 60px; font-size: 0.85rem; color: var(--text-dim); }
.waveform { flex: 1; height: 24px; background: linear-gradient(90deg, transparent, var(--accent-3), transparent); opacity: 0.5; border-radius: 4px; }
.voice-btn { width: 24px; height: 24px; border-radius: 50%; background: var(--accent-3); display: flex; align-items: center; justify-content: center; cursor: pointer; color: #000; font-size: 10px; }

/* 10. Comments */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; margin-bottom: 60px; }
.stat-item h3 { font-size: 2.5rem; color: var(--accent-1); margin-bottom: 4px; }
.stat-item p { font-size: 0.85rem; color: var(--text-dim); }
.comment-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.comment-card { background: var(--bg-panel-light); border-radius: 12px; padding: 20px; border: 1px solid rgba(255,255,255,0.03); display: flex; flex-direction: column; gap: 12px; }
.comment-header { display: flex; align-items: center; gap: 10px; }
.comment-header img { width: 36px; height: 36px; border-radius: 50%; }
.comment-meta h5 { font-size: 0.9rem; margin-bottom: 2px; }
.comment-meta div { font-size: 0.75rem; color: var(--accent-2); }
.comment-text { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }
.comment-footer { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.comment-badge { display: inline-block; font-size: 0.7rem; padding: 2px 6px; border-radius: 4px; background: rgba(255,121,198,0.2); color: var(--accent-2); margin-left: 8px; }

/* 11. Data Board */
.data-board { display: flex; justify-content: space-around; padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.data-item { text-align: center; position: relative; padding: 20px; }
.data-item h3 { font-size: 3rem; font-family: var(--font-serif); color: var(--text-main); margin-bottom: 8px; }
.data-item p { font-size: 0.9rem; color: var(--text-dim); }
.data-line { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 40px; height: 2px; background: var(--accent-1); }

/* 12. FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.05); padding: 20px 0; }
.faq-q { display: flex; justify-content: space-between; cursor: pointer; font-size: 1.1rem; font-weight: 600; }
.faq-q::after { content: '▼'; font-size: 0.8rem; color: var(--accent-1); transition: transform 0.3s; }
.faq-item.active .faq-q::after { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; color: var(--text-dim); font-size: 0.95rem; padding-top: 0; }
.faq-item.active .faq-a { max-height: 200px; padding-top: 16px; }

/* 13. Download */
.download-section { text-align: center; }
.download-btns { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.download-btns a { display: inline-flex; align-items: center; gap: 8px; padding: 16px 40px; border-radius: var(--radius-btn); font-size: 1.1rem; font-weight: 600; transition: 0.3s; }
.btn-android { background: linear-gradient(135deg, #3ddc84, #00c853); color: #fff; }
.btn-ios { background: linear-gradient(135deg, #555, #333); color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.download-btns a:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }
.support-links { font-size: 0.9rem; color: var(--text-dim); }
.support-links a { color: var(--accent-1); margin: 0 10px; }

/* 14. Footer */
footer { padding: 60px 0 30px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; color: var(--text-dim); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand img { height: 28px; margin-bottom: 16px; }
.footer-brand p { margin-bottom: 20px; }
.social-icons { display: flex; gap: 12px; }
.social-icons span { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.social-icons span:hover { background: var(--accent-1); color: #fff; }
.footer-col h5 { color: var(--text-main); margin-bottom: 20px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent-1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { margin: 0; }
.back-top { cursor: pointer; transition: 0.3s; }
.back-top:hover { color: var(--accent-1); }

/* Scroll Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.8rem; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .channel-grid { grid-template-columns: repeat(3, 1fr); }
  .rank-cols { grid-template-columns: 1fr; gap: 20px; }
  .comment-masonry { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .interactive-grid { grid-template-columns: 1fr; }
  .exp-row { flex-direction: column; gap: 30px; }
  .exp-row:nth-child(even) { flex-direction: column; }
  .nav-links { display: none; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .section-num { font-size: 5rem; top: 30px; }
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .chat-demo { padding: 16px; }
  .chat-bubble { max-width: 85%; }
  .channel-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .data-board { flex-wrap: wrap; }
  .data-item { width: 50%; }
  .comment-masonry { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .download-btns { flex-direction: column; }
}