* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0f;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  line-height: 1.5;
  overflow-x: hidden;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #1a1a1f;
}
::-webkit-scrollbar-thumb {
  background: #e94560;
  border-radius: 3px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 40px;
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e94560, #6a11cb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 8px 0;
}
.nav-link.active, .nav-link:hover {
  color: #e94560;
}

/* 主容器 */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 40px 60px;
}

/* 英雄 + 聊天框 左右布局 */
.hero-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  padding: 60px 0 80px;
  flex-wrap: wrap;
}
.hero {
  flex: 1.2;
  text-align: left;
  padding: 0;
}
.hero-badge {
  display: inline-flex;
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid rgba(233, 69, 96, 0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  color: #e94560;
  margin-bottom: 32px;
}
.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 24px;
}
.title-gradient {
  background: linear-gradient(135deg, #e94560, #a855f7, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, #e94560, #c81e4a);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 69, 96, 0.4);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}
.btn-outline:hover {
  border-color: #e94560;
  background: rgba(233, 69, 96, 0.1);
}
.btn-accent {
  background: linear-gradient(135deg, #6a11cb, #a855f7);
  color: white;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
}
.btn-accent:hover {
  transform: translateY(-2px);
}

/* 聊天模拟框 */
.chat-simulator {
  flex: 0.9;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  overflow: hidden;
  transition: all 0.3s;
}
.chat-simulator:hover {
  border-color: rgba(233, 69, 96, 0.3);
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e94560;
}
.chat-info {
  display: flex;
  flex-direction: column;
}
.chat-name {
  font-weight: 600;
  font-size: 1rem;
}
.chat-status {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}
.chat-messages {
  height: 320px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.message {
  display: flex;
}
.message.bot {
  justify-content: flex-start;
}
.message.user {
  justify-content: flex-end;
}
.message-bubble {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.85rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}
.message.bot .message-bubble {
  background: rgba(233, 69, 96, 0.15);
  border: 1px solid rgba(233, 69, 96, 0.3);
  color: #fff;
  border-bottom-left-radius: 4px;
}
.message.user .message-bubble {
  background: rgba(106, 17, 203, 0.2);
  border: 1px solid rgba(106, 17, 203, 0.4);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.cmd-highlight {
  color: #e94560;
  font-weight: 600;
}
.chat-input-area {
  display: flex;
  padding: 12px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  gap: 10px;
}
.chat-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 10px 16px;
  color: white;
  font-family: inherit;
  font-size: 0.85rem;
  outline: none;
  transition: all 0.2s;
}
.chat-input:focus {
  border-color: #e94560;
}
.chat-send {
  background: linear-gradient(135deg, #e94560, #c81e4a);
  border: none;
  border-radius: 24px;
  padding: 0 20px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-send:hover {
  opacity: 0.85;
  transform: scale(0.98);
}
.chat-tip {
  padding: 8px 16px 12px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

/* 通用区块 */
.section {
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #e94560;
  background: rgba(233, 69, 96, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.section-subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

/* 功能卡片网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: rgba(20, 20, 30, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.feature-card:hover {
  border-color: rgba(233, 69, 96, 0.3);
  transform: translateY(-5px);
}
.feature-icon {
  color: #e94560;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}
.feature-card p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* 服务卡片 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: rgba(15, 15, 22, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(233, 69, 96, 0.4);
  transform: translateY(-4px);
}
.service-icon {
  color: #e94560;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.service-card p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-family: monospace;
}
.service-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  color: #e94560;
}
.service-card:hover .service-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* 法律卡片 */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.legal-card {
  background: rgba(10, 10, 15, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  cursor: pointer;
}
.legal-card:hover {
  border-color: rgba(233, 69, 96, 0.3);
  background: rgba(233, 69, 96, 0.05);
}
.legal-icon {
  color: #e94560;
  flex-shrink: 0;
}
.legal-card h4 {
  font-size: 0.8rem;
  margin-bottom: 4px;
}
.legal-card p {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
}

/* 命令大全页面样式 */
.page-header {
  text-align: center;
  margin-bottom: 60px;
}
.commands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.command-tag {
  background: rgba(233, 69, 96, 0.15);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
}
.badge-note {
  margin-top: 12px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

/* 页脚 */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  background: rgba(5, 5, 10, 0.8);
}
.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-info p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #e94560;
}

/* 响应式 */
@media (max-width: 1100px) {
  .legal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-wrapper {
    flex-direction: column;
  }
  .hero {
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .features-grid, .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .commands-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}
@media (max-width: 600px) {
  .features-grid, .services-grid, .legal-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  main {
    padding: 80px 20px 40px;
  }
  .chat-messages {
    height: 280px;
  }
}