/* 迈智讯 MyAITrader — AXQ风格样式 */
:root {
  --bg-primary: #0a0e27;
  --bg-secondary: #111827;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);

  --text-primary: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;

  --accent: #3b82f6;
  --accent-hover: #2563eb;

  --border: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --max-width: 1200px;
  --header-height: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 导航栏 ==================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-en {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.brand-cn {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
  text-decoration: none;
}

.btn-download img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.btn-download:hover {
  background: var(--accent-hover);
}

/* ==================== Hero 区域 ==================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% top, rgba(59, 130, 246, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% bottom, rgba(139, 92, 246, 0.1), transparent 50%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 800px;
}

.hero-title {
  margin-bottom: 24px;
}

.title-en {
  display: block;
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 700;
  letter-spacing: 8px;
  line-height: 1.1;
}

.title-cn {
  display: block;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 300;
  margin-top: 8px;
  opacity: 0.9;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
}

/* ==================== 关于我们 ==================== */
.about-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  gap: 64px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-actions {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.link-arrow {
  color: var(--accent);
  font-weight: 500;
  position: relative;
}

.link-arrow::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ==================== 数据统计 ==================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== 核心能力 ==================== */
.features-section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== 为什么选择我们 ==================== */
.tech-section {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.tech-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-item {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.tech-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--border);
  transform: translateY(-4px);
}

.tech-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tech-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== 风险提示 ==================== */
.disclaimer-section {
  padding: 60px 0;
}

.disclaimer-box {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: var(--radius-md);
  padding: 32px;
}

.disclaimer-title {
  font-size: 18px;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 16px;
}

.disclaimer-text {
  font-size: 15px;
  color: #fef3c7;
  line-height: 1.8;
}

/* ==================== 页脚 ==================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 48px 0 32px;
}

.footer-bottom {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 4px;
}

.footer-bottom a {
  color: var(--text-muted);
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* ==================== 响应式 ==================== */
@media (max-width: 768px) {
  .site-header {
    padding: 0 16px;
  }

  .nav-menu {
    display: none;
  }

  .hero-title .title-en {
    letter-spacing: 4px;
  }

  .about-actions {
    flex-direction: column;
    gap: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
