/* =============================================
   bitmart16.com.cn — 预测市场设计系统
   视觉风格：液态玻璃 + 渐变霓虹 + 超现实解构
   色彩系统：深紫 #0A0015 → 电光蓝 #00F0FF → 霓虹粉 #FF007A
   ============================================= */

/* 基础重置 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
  background: #0A0015;
  color: #E0E0FF;
  line-height: 1.6;
}

/* 核心布局 — 必须居中 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section:nth-child(even) {
  background: linear-gradient(135deg, #0F0020 0%, #1A0030 100%);
}

/* 装饰性背景光晕 */
.section::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* 导航 — 固定顶部 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 0, 21, 0.85);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #00F0FF, #FF007A);
  color: #0A0015;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: #B0B0D0;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.5px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00F0FF, #FF007A);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #FFFFFF;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border-radius: 50px;
  color: #0A0015 !important;
  font-weight: 700;
  background: linear-gradient(135deg, #00F0FF, #FF007A);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  color: #0A0015 !important;
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #E0E0FF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* 首页Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255, 0, 122, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: #00F0FF;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 900;
  color: #FFFFFF;
  text-shadow: 0 0 40px rgba(0, 240, 255, 0.15);
  letter-spacing: -1px;
}

.hero h1 span {
  background: linear-gradient(135deg, #00F0FF, #FF007A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  color: #C0C0E0;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  color: #0A0015;
  background: linear-gradient(135deg, #00F0FF, #FF007A);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(0, 240, 255, 0.4);
  color: #00F0FF;
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: #00F0FF;
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
  color: #00F0FF;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(0, 240, 255, 0.3);
  padding-bottom: 6px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 16px;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-title span {
  background: linear-gradient(135deg, #00F0FF, #FF007A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  max-width: 600px;
  opacity: 0.7;
  margin-bottom: 48px;
  color: #B0B0D0;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00F0FF, #FF007A, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(255, 0, 122, 0.15));
  border: 1px solid rgba(0, 240, 255, 0.2);
  color: #00F0FF;
}

.card-link {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  color: #00F0FF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
  color: #FF007A;
}

/* 特性块 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.feature-image:hover {
  transform: scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  color: #E0E0FF;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #C0C0E0;
  border-bottom: 1px solid rgba(0, 240, 255, 0.06);
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #00F0FF;
  font-size: 1.1rem;
}

/* 数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 2.6rem;
  font-weight: 900;
  color: #FFFFFF;
  background: linear-gradient(135deg, #00F0FF, #FF007A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-top: 8px;
  color: #B0B0D0;
  letter-spacing: 0.5px;
}

/* 内容墙 */
.content-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.content-wall-item {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wall-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(0, 240, 255, 0.3);
}

.content-wall-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-wall-item:hover img {
  transform: scale(1.05);
}

.content-wall-body {
  padding: 24px;
  color: #E0E0FF;
}

.content-wall-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #FFFFFF;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FFFFFF;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: #00F0FF;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
  color: #FF007A;
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.8;
  color: #B0B0D0;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

.faq-item.open {
  border-color: rgba(0, 240, 255, 0.3);
}

/* CTA横幅 */
.cta-banner {
  padding: 64px 32px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 122, 0.1));
  border: 1px solid rgba(0, 240, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.03) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-banner p {
  color: #C0C0E0;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary {
  background: #FFFFFF;
  color: #0A0015;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #E0E0FF;
  transform: translateY(-2px);
}

/* 页脚 */
.site-footer {
  padding: 64px 0 32px;
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  opacity: 0.6;
  color: #B0B0D0;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #B0B0D0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #00F0FF;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 240, 255, 0.1);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #8080A0;
}

/* 工具类 */
.text-accent {
  color: #00F0FF;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.7;
  color: #B0B0D0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* 动画关键帧 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0A0015;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00F0FF, #FF007A);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00F0FF;
}

/* 选中文本样式 */
::selection {
  background: rgba(0, 240, 255, 0.3);
  color: #FFFFFF;
}

/* ⚠️ 响应式 */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.6rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .feature-block {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr;
  }
  
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(10, 0, 21, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  }
  
  .main-nav.open a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.05);
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .content-wall {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero h1 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .cta-banner {
    padding: 40px 20px;
  }
  
  .cta-banner h2 {
    font-size: 1.5rem;
  }
  
  .header-inner {
    height: 60px;
  }
  
  .logo {
    font-size: 1.1rem;
  }
  
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}