/* ============================================================
   Awwwards-Level Design System — 美股开户网 (mgkhw.com.cn)
   Visual Direction: Brutalist + Glassmorphism + Kinetic Typo
   Color Palette: Deep Aubergine (#2D1B4E) x Chartreuse (#7FFF00)
   ============================================================ */

/* 基础重置 */
*, *::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: #0f0a1a;
  color: #e0d6f0;
  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, #1a1128 0%, #2d1b4e 100%);
}

.section:nth-child(odd) {
  background: #0f0a1a;
}

/* 导航 — 固定顶部 + 玻璃态 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 10, 26, 0.85);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(127, 255, 0, 0.15);
  transition: background 0.3s ease;
}

.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: 12px;
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  color: #7FFF00;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #7FFF00, #2D1B4E);
  color: #0f0a1a;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(127, 255, 0, 0.3);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #b8a9d4;
  transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7FFF00;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #7FFF00;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 28px !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #7FFF00, #5ecc00) !important;
  color: #0f0a1a !important;
  font-weight: 700 !important;
  box-shadow: 0 0 30px rgba(127, 255, 0, 0.25);
  transition: all 0.3s ease !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(127, 255, 0, 0.4);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #7FFF00;
  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: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(127, 255, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  100% { transform: translate(-60px, 40px) scale(1.2); opacity: 1; }
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  background: rgba(127, 255, 0, 0.12);
  color: #7FFF00;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: 1px solid rgba(127, 255, 0, 0.2);
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 0 60px rgba(127, 255, 0, 0.15);
}

.hero h1 span {
  color: #7FFF00;
  display: block;
  font-size: 4.8rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.7;
  max-width: 560px;
  margin-bottom: 36px;
  color: #b8a9d4;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.hero-image {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(127, 255, 0, 0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 按钮 — 大胆 + 霓虹 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, #7FFF00, #5ecc00);
  color: #0f0a1a;
  box-shadow: 0 4px 30px rgba(127, 255, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 50px rgba(127, 255, 0, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid #7FFF00;
  color: #7FFF00;
}

.btn-outline:hover {
  background: rgba(127, 255, 0, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(127, 255, 0, 0.2);
}

/* 标签/标题 */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 16px;
  color: #7FFF00;
  text-transform: uppercase;
  border-bottom: 2px solid #7FFF00;
  padding-bottom: 4px;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
}

.section-desc {
  max-width: 600px;
  opacity: 0.6;
  margin-bottom: 48px;
  color: #b8a9d4;
  font-size: 1.05rem;
}

/* 卡片网格 — 玻璃态卡片 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.category-card {
  border-radius: 16px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(127, 255, 0, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(127, 255, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(127, 255, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(127, 255, 0, 0.05);
}

.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, #2D1B4E, #1a1128);
  border: 1px solid rgba(127, 255, 0, 0.15);
  color: #7FFF00;
}

.card-link {
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  color: #7FFF00;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.card-link:hover {
  gap: 12px;
}

/* 特性块 — 解构网格 */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(127, 255, 0, 0.1);
  transition: transform 0.4s ease;
}

.feature-image:hover {
  transform: scale(1.02);
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-text {
  position: relative;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #c4b8dc;
}

.feature-list li::before {
  content: '✦';
  font-weight: 700;
  color: #7FFF00;
  font-size: 1.1rem;
}

/* 数据条 — 野兽派数字 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(127, 255, 0, 0.1);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: rgba(127, 255, 0, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: #7FFF00;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.5;
  margin-top: 8px;
  color: #b8a9d4;
  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: 16px;
  overflow: hidden;
  border: 1px solid rgba(127, 255, 0, 0.08);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.content-wall-item:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(127, 255, 0, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.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;
}

.content-wall-body h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.content-wall-body p {
  font-size: 0.9rem;
  opacity: 0.6;
  color: #b8a9d4;
}

/* FAQ — 极简手风琴 */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(127, 255, 0, 0.1);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(127, 255, 0, 0.25);
}

.faq-item .faq-question {
  padding: 18px 24px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 0.3px;
}

.faq-item .faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: #7FFF00;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding: 0 24px 18px;
  display: none;
  opacity: 0.7;
  color: #b8a9d4;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
  animation: fadeSlide 0.3s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 0.7; transform: translateY(0); }
}

/* CTA横幅 — 霓虹渐变 */
.cta-banner {
  padding: 64px 24px;
  text-align: center;
  border-radius: 20px;
  background: linear-gradient(135deg, #2D1B4E, #1a1128);
  border: 1px solid rgba(127, 255, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(127, 255, 0, 0.06), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: #b8a9d4;
  margin-bottom: 28px;
  position: relative;
}

.cta-banner .btn-primary {
  background: #7FFF00;
  color: #0f0a1a;
  box-shadow: 0 0 50px rgba(127, 255, 0, 0.3);
  position: relative;
}

.cta-banner .btn-primary:hover {
  box-shadow: 0 0 80px rgba(127, 255, 0, 0.5);
}

/* 页脚 — 深色极简 */
.site-footer {
  padding: 64px 0 32px;
  background: #0a0712;
  border-top: 1px solid rgba(127, 255, 0, 0.06);
}

.site-footer .container {
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand {
  color: #b8a9d4;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.7;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  color: #8a7aa6;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #7FFF00;
}

.footer-bottom {
  border-top: 1px solid rgba(127, 255, 0, 0.06);
  margin-top: 48px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #5a4a76;
  letter-spacing: 0.5px;
}

/* 工具类 */
.text-accent {
  color: #7FFF00;
}

.text-center {
  text-align: center;
}

.seo-description {
  max-width: 600px;
  margin: 0 auto 48px;
  opacity: 0.6;
  color: #b8a9d4;
  line-height: 1.8;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* ============================================================
   响应式设计
   ============================================================ */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero h1 span {
    font-size: 3.6rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .hero h1 span {
    font-size: 2.8rem;
  }
  .feature-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .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(15, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(127, 255, 0, 0.1);
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero h1 span {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cards-grid,
  .content-wall,
  .stats-bar {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}