:root {
  --bg-deep: #0B0A1A;
  --bg-card: #15132B;
  --purple: #B026FF;
  --pink: #FF007F;
  --blue: #4A90E2;
  --text-main: #F0EFFF;
  --text-muted: #A09EB8;
  --border-glow: rgba(176, 38, 255, 0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 导航 */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 15px 0; transition: all 0.3s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(11, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-glow);
}
.nav-inner { display: flex; justify-content: space-between; align-items: center; }
.logo-wrap { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 1.2rem; letter-spacing: 1px; }
.logo-wrap img { height: 32px; width: auto; object-fit: contain; border-radius: 4px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--purple); }
.btn-primary {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  color: #fff; padding: 10px 24px; border-radius: 24px;
  font-weight: bold; border: none; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 0, 127, 0.5); }

/* Hero 首屏 */
.hero {
  position: relative; padding: 160px 0 100px; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(176, 38, 255, 0.15) 0%, transparent 60%);
  z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-text h1 { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; }
.hero-text h1 span {
  background: linear-gradient(90deg, var(--purple), var(--pink));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-text p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 30px; }
.hero-visual { position: relative; height: 500px; }
.hero-img-main {
  position: absolute; top: 0; right: 0; width: 80%; height: 100%;
  object-fit: cover; border-radius: 20px; border: 1px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-ui-chat {
  position: absolute; bottom: 20px; left: 0; width: 75%;
  background: rgba(21, 19, 43, 0.9); border: 1px solid var(--purple);
  border-radius: 15px; padding: 15px; box-shadow: 0 8px 25px rgba(176, 38, 255, 0.2);
  backdrop-filter: blur(5px);
}
.chat-bubble { background: rgba(255,255,255,0.1); padding: 10px 15px; border-radius: 12px; margin-bottom: 8px; font-size: 0.9rem; }
.chat-bubble.ai { border-left: 3px solid var(--pink); }
.typing-effect { overflow: hidden; white-space: nowrap; animation: typing 3s steps(30, end) infinite alternate; }
@keyframes typing { from { width: 0 } to { width: 100% } }

/* 角色广场 */
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-card); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05); transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(176, 38, 255, 0.2); border-color: var(--purple); }
.card-img-wrap { position: relative; height: 240px; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-img-wrap img { transform: scale(1.05); }
.card-info { padding: 15px; }
.card-info h3 { font-size: 1.1rem; margin-bottom: 5px; }
.card-tags { font-size: 0.8rem; color: var(--pink); margin-bottom: 8px; }
.card-desc { font-size: 0.85rem; color: var(--text-muted); }

/* 模型技术展示 */
.tech-section { padding: 80px 0; background: linear-gradient(180deg, var(--bg-deep) 0%, #13102A 100%); }
.tech-showcase { position: relative; display: flex; justify-content: center; align-items: center; height: 400px; }
.tech-center {
  width: 300px; background: var(--bg-card); border-radius: 20px; padding: 20px;
  border: 1px solid var(--border-glow); z-index: 2; box-shadow: 0 0 30px rgba(176, 38, 255, 0.2);
}
.tech-float {
  position: absolute; padding: 10px 20px; background: #1A1733;
  border: 1px solid var(--purple); border-radius: 20px; font-weight: bold;
  animation: float 4s ease-in-out infinite alternate;
}
.tech-float:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.tech-float:nth-child(2) { top: 80%; left: 20%; animation-delay: 1s; }
.tech-float:nth-child(3) { top: 20%; right: 15%; animation-delay: 2s; }
@keyframes float { 0% { transform: translateY(0); } 100% { transform: translateY(-15px); } }

/* 对比区块 */
.compare-section { padding: 80px 0; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.compare-box {
  background: var(--bg-card); padding: 30px; border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.05);
}
.compare-box.glow { border-color: var(--pink); box-shadow: 0 0 20px rgba(255, 0, 127, 0.2); }
.compare-box h3 { margin-bottom: 20px; font-size: 1.4rem; }
.compare-box.glow h3 { color: var(--pink); }
.bubble-list .chat-bubble { background: rgba(255,255,255,0.05); }
.compare-box.glow .bubble-list .chat-bubble { background: rgba(255, 0, 127, 0.1); }

/* 定制区块 */
.custom-section { padding: 80px 0; }
.custom-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.custom-text h2 { font-size: 2rem; margin-bottom: 20px; }
.custom-text p { color: var(--text-muted); margin-bottom: 20px; }
.custom-img-wrap {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 2px solid var(--purple); box-shadow: 0 0 20px rgba(176, 38, 255, 0.3);
}
.custom-img-wrap img { width: 100%; height: auto; object-fit: contain; }

/* 多端生态 */
.device-section { padding: 80px 0; text-align: center; }
.device-row { display: flex; justify-content: center; gap: 20px; margin-top: 40px; flex-wrap: wrap; }
.device-mock {
  background: #1A1733; border-radius: 15px; padding: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}
.device-mock img { border-radius: 8px; object-fit: cover; }

/* FAQ */
.faq-section { padding: 80px 0; max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); margin-bottom: 15px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.05); }
.faq-q { padding: 20px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; }
.faq-a { padding: 0 20px 20px; color: var(--text-muted); display: none; }
.faq-item.active .faq-a { display: block; }
.faq-item.active { border-color: var(--purple); }

/* 页脚 */
.footer {
  background: #060510; padding: 40px 0 20px; font-size: 0.85rem; color: var(--text-muted);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
.footer-links { display: flex; gap: 20px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--purple); }

/* 动画类 */
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
}
.shimmer:hover::after { animation: shimmerAnim 1s; }
@keyframes shimmerAnim { 100% { left: 200%; } }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-text h1 { font-size: 2.5rem; }
  .hero-visual { height: 400px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { height: 350px; margin-top: 30px; }
  .hero-img-main { width: 100%; }
  .hero-ui-chat { width: 90%; left: 5%; }
  .grid-3 { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .custom-inner { grid-template-columns: 1fr; }
  .device-row { flex-direction: column; align-items: center; }
  .tech-showcase { height: auto; flex-direction: column; gap: 20px; }
  .tech-float { position: relative; animation: none; top: auto; left: auto; right: auto; }
}