/* 美股交易平台 - 独特视觉设计系统 */
/* 风格：野兽派 + 网格解构 + 高饱和度撞色 */

*, *::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: #0d0b1a;
  color: #e8e4f0;
  line-height: 1.6;
}

/* 核心布局 */
.container { 
  max-width:1200px; 
  margin:0 auto; 
  padding:0 24px; 
}

.section { 
  padding:80px 0; 
  position: relative;
}

.section:nth-child(even) { 
  background: #141024; 
}

/* 导航 - 固定顶部 */
.site-header { 
  position:fixed; 
  top:0; 
  left:0; 
  width:100%; 
  z-index:1000; 
  background:rgba(13, 11, 26, 0.92); 
  backdrop-filter:blur(16px); 
  border-bottom:1px solid rgba(255, 196, 54, 0.25); 
}

.header-inner { 
  display:flex; 
  align-items:center; 
  justify-content:space-between; 
  height:68px; 
  max-width:1200px; 
  margin:0 auto; 
  padding:0 24px; 
}

.logo { 
  display:flex; 
  align-items:center; 
  gap:12px; 
  font-weight:900; 
  font-size:1.4rem; 
  text-decoration:none; 
  color: #ffc436; 
  letter-spacing: -0.5px;
}

.logo-icon { 
  width:40px; 
  height:40px; 
  border-radius:12px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  font-size:1.2rem; 
  background: #ffc436;
  color: #0d0b1a;
  font-weight: 900;
}

.main-nav { 
  display:flex; 
  align-items:center; 
  gap:32px; 
  list-style:none; 
}

.main-nav a { 
  text-decoration:none; 
  font-size:0.9rem; 
  font-weight:600; 
  transition:0.2s; 
  color: #a99fc7;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffc436;
  transition: width 0.25s;
}

.main-nav a:hover {
  color: #ffc436;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta { 
  padding:10px 24px; 
  border-radius:50px; 
  color:#0d0b1a!important; 
  font-weight:700; 
  background: #ffc436;
  transition: all 0.25s;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: #ffd666;
  transform: scale(1.04);
  color: #0d0b1a!important;
}

.menu-toggle { 
  display:none; 
  background: none;
  border: 2px solid #ffc436;
  color: #ffc436;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* 首页Hero */
.hero { 
  min-height:80vh; 
  display:flex; 
  align-items:center; 
  background: radial-gradient(ellipse at 20% 50%, rgba(255, 196, 54, 0.08) 0%, transparent 60%), 
              radial-gradient(ellipse at 80% 20%, rgba(157, 78, 255, 0.1) 0%, transparent 50%);
}

.hero-content { 
  max-width:720px; 
}

.hero-eyebrow { 
  display:inline-block; 
  font-size:0.8rem; 
  font-weight:700; 
  padding:6px 18px; 
  border-radius:50px; 
  margin-bottom:20px; 
  background: rgba(255, 196, 54, 0.15);
  color: #ffc436;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 196, 54, 0.3);
}

.hero h1 { 
  font-size:3.6rem; 
  line-height:1.1; 
  margin-bottom:20px; 
  font-weight: 900;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffc436 0%, #ff8a5c 50%, #ff4d6d 100%);
  -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: #b8afcf;
  line-height: 1.7;
}

.hero-buttons { 
  display:flex; 
  gap:16px; 
}

.hero-image { 
  border-radius:20px; 
  overflow:hidden; 
  border: 1px solid rgba(255, 196, 54, 0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.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.25s; 
  font-size: 0.95rem;
}

.btn-primary { 
  color:#0d0b1a; 
  background: linear-gradient(135deg, #ffc436, #ff8a5c);
  box-shadow: 0 4px 20px rgba(255, 196, 54, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 196, 54, 0.4);
}

.btn-outline { 
  background:transparent; 
  border:2px solid #ffc436; 
  color: #ffc436;
}

.btn-outline:hover {
  background: rgba(255, 196, 54, 0.1);
  transform: translateY(-2px);
}

/* 标签/标题 */
.section-label { 
  display:inline-block; 
  font-size:0.75rem; 
  font-weight:700; 
  letter-spacing:3px; 
  margin-bottom:16px; 
  color: #ffc436;
  text-transform: uppercase;
  border-left: 3px solid #ffc436;
  padding-left: 12px;
}

.section-title { 
  font-size:2.4rem; 
  margin-bottom:14px; 
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #f0ecf8;
}

.section-desc { 
  max-width:600px; 
  opacity:0.7; 
  margin-bottom:48px; 
  color: #a99fc7;
  font-size: 1.05rem;
}

/* 卡片网格 */
.cards-grid { 
  display:grid; 
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); 
  gap:28px; 
}

.category-card { 
  border-radius:20px; 
  padding:32px 28px; 
  border:1px solid rgba(255, 196, 54, 0.15); 
  transition:all 0.3s; 
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #ffc436, #ff4d6d);
  opacity: 0;
  transition: opacity 0.3s;
}

.category-card:hover { 
  transform:translateY(-6px); 
  box-shadow:0 12px 40px rgba(255, 196, 54, 0.15); 
  border-color: rgba(255, 196, 54, 0.4);
}

.category-card:hover::before {
  opacity: 1;
}

.card-icon { 
  width:52px; 
  height:52px; 
  border-radius:16px; 
  display:flex; 
  align-items:center; 
  justify-content:center; 
  margin-bottom:18px; 
  font-size:1.5rem; 
  background: rgba(255, 196, 54, 0.12);
  color: #ffc436;
}

.card-link { 
  font-weight:700; 
  font-size:0.85rem; 
  text-decoration:none; 
  color: #ffc436;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* 特性块 */
.feature-block { 
  display:grid; 
  grid-template-columns:1fr 1fr; 
  gap:60px; 
  align-items:center; 
}

.feature-image { 
  border-radius:20px; 
  overflow:hidden; 
  border: 1px solid rgba(255, 196, 54, 0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.feature-image img { 
  width:100%; 
  height:auto; 
  display: block;
}

.feature-text { }

.feature-list { 
  list-style:none; 
}

.feature-list li { 
  padding:10px 0; 
  display:flex; 
  align-items:center; 
  gap:12px; 
  font-size: 1.05rem;
  color: #c8c0de;
}

.feature-list li::before { 
  content:'✓'; 
  font-weight:900; 
  color: #ffc436;
  font-size: 1.2rem;
}

/* 数据条 */
.stats-bar { 
  display:grid; 
  grid-template-columns:repeat(4,1fr); 
  gap:28px; 
  text-align:center; 
}

.stat-item { 
  padding:32px 20px; 
  border-radius:20px; 
  border:1px solid rgba(255, 196, 54, 0.15); 
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.stat-item:hover {
  border-color: rgba(255, 196, 54, 0.4);
  transform: translateY(-2px);
}

.stat-number { 
  font-size:2.8rem; 
  font-weight:900; 
  color: #ffc436;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label { 
  font-size:0.9rem; 
  opacity:0.6; 
  margin-top:8px; 
  color: #a99fc7;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 内容墙 */
.content-wall { 
  display:grid; 
  grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); 
  gap:28px; 
}

.content-wall-item { 
  border-radius:20px; 
  overflow:hidden; 
  border:1px solid rgba(255, 196, 54, 0.15); 
  transition:all 0.3s; 
  background: rgba(255, 255, 255, 0.02);
}

.content-wall-item:hover { 
  transform:translateY(-6px); 
  box-shadow:0 12px 40px rgba(255, 196, 54, 0.12); 
  border-color: rgba(255, 196, 54, 0.3);
}

.content-wall-item img { 
  width:100%; 
  height:220px; 
  object-fit:cover; 
  transition: transform 0.4s;
}

.content-wall-item:hover img {
  transform: scale(1.03);
}

.content-wall-body { 
  padding:24px; 
}

.content-wall-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: #f0ecf8;
}

.content-wall-body p {
  color: #a99fc7;
  font-size: 0.9rem;
}

/* FAQ */
.faq-list { 
  max-width:800px; 
  margin:0 auto; 
}

.faq-item { 
  border:1px solid rgba(255, 196, 54, 0.15); 
  border-radius:16px; 
  margin-bottom:10px; 
  overflow:hidden; 
  cursor:pointer; 
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(255, 196, 54, 0.3);
}

.faq-item .faq-question { 
  padding:20px 24px; 
  font-weight:700; 
  display:flex; 
  justify-content:space-between; 
  align-items: center;
  color: #f0ecf8;
  font-size: 1.05rem;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #ffc436;
  transition: transform 0.3s;
  font-weight: 300;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer { 
  padding:0 24px 20px; 
  display:none; 
  opacity:0.7; 
  color: #b8afcf;
  line-height: 1.7;
}

.faq-item.open .faq-answer { 
  display:block; 
}

/* CTA横幅 */
.cta-banner { 
  padding:64px 40px; 
  text-align:center; 
  border-radius:24px; 
  color:#0d0b1a; 
  background: linear-gradient(135deg, #ffc436, #ff8a5c, #ff4d6d);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.cta-banner h2 { 
  color:#0d0b1a; 
  font-size: 2.2rem;
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary { 
  background:#0d0b1a; 
  color: #ffc436;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.cta-banner .btn-primary:hover {
  background: #1a1535;
}

/* 页脚 */
.site-footer { 
  padding:64px 0 32px; 
  background: #0a0816;
  border-top: 1px solid rgba(255, 196, 54, 0.1);
}

.footer-grid { 
  display:grid; 
  grid-template-columns:2fr 1fr 1fr 1fr; 
  gap:48px; 
}

.footer-brand { 
  color: #a99fc7;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-col h4 {
  color: #f0ecf8;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #7a72a0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #ffc436;
}

.footer-bottom { 
  border-top:1px solid rgba(255, 196, 54, 0.1); 
  margin-top:48px; 
  padding-top:24px; 
  text-align:center; 
  font-size:0.85rem; 
  color: #5a5278;
}

/* 工具类 */
.text-accent { 
  color: #ffc436; 
}

.text-center { 
  text-align:center; 
}

.seo-description { 
  max-width:600px; 
  margin:0 auto 48px; 
  opacity:0.7; 
  color: #a99fc7;
}

.mt-0 { 
  margin-top:0; 
}

.mb-0 { 
  margin-bottom:0; 
}

/* 响应式 */
@media (max-width: 768px) {
  .feature-block { 
    grid-template-columns:1fr; 
    gap: 36px;
  }
  
  .stats-bar { 
    grid-template-columns:repeat(2,1fr); 
    gap: 16px;
  }
  
  .footer-grid { 
    grid-template-columns:1fr 1fr; 
    gap: 32px;
  }
  
  .main-nav { 
    display:none; 
  }
  
  .menu-toggle { 
    display:flex; 
  }
  
  .main-nav.open { 
    display:flex; 
    flex-direction:column; 
    position:absolute; 
    top:68px; 
    left:0; 
    width:100%; 
    background: rgba(13, 11, 26, 0.98); 
    padding:24px; 
    gap: 16px;
    border-bottom: 1px solid rgba(255, 196, 54, 0.2);
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 60vh;
  }
}

@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: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section {
    padding: 48px 0;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }
}