/* ========================================
   璇玑量化 - Landing Page Styles
   ======================================== */

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-gradient: linear-gradient(180deg, #0a0e17 0%, #0f1729 100%);
  --gold: #d4a853;
  --gold-light: #f0c96b;
  --cyan: #22d3ee;
  --cyan-dark: #06b6d4;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --warning: #ef4444;
  --warning-bg: rgba(239, 68, 68, 0.08);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --gold-glow: 0 0 30px rgba(212, 168, 83, 0.15);
  --cyan-glow: 0 0 20px rgba(34, 211, 238, 0.1);
  --radius-card: 12px;
  --radius-btn: 8px;
  --font-cn: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cn);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 83, 0.1);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-icon {
  color: var(--gold);
  font-size: 1.4rem;
}

.brand-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav right group */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle button */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(241, 245, 249, 0.06);
  border: 1px solid rgba(241, 245, 249, 0.1);
  border-radius: 6px;
  padding: 6px 12px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  line-height: 1;
}

.lang-toggle:hover {
  border-color: rgba(212, 168, 83, 0.3);
  background: rgba(212, 168, 83, 0.08);
}

.lang-toggle .lang-zh,
.lang-toggle .lang-en {
  transition: color 0.3s ease;
}

.lang-toggle.lang-is-zh .lang-zh {
  color: var(--gold);
}

.lang-toggle.lang-is-en .lang-en {
  color: var(--gold);
}

.lang-toggle .lang-divider {
  opacity: 0.3;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 96px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 168, 83, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 168, 83, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.08), transparent 70%);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -50px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.06), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 24px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 32px;
  background: rgba(212, 168, 83, 0.05);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-gold {
  color: var(--gold);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-cn);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0e17;
  box-shadow: var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(212, 168, 83, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(241, 245, 249, 0.2);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: var(--cyan-glow);
}

.btn-block {
  width: 100%;
}

/* === Hero Stats === */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.hero-stat-number,
.hero-stat-suffix {
  display: block;
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1.2;
}

.hero-stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(241, 245, 249, 0.1);
}

/* === Section Common === */
.section {
  padding: 96px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.8;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* === Advantages Grid === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.06);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: rgba(212, 168, 83, 0.15);
}

.advantage-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Card Tags (时间框架) */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-tags span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.15);
}

/* Card Filter Demo */
.card-filter-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-level {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(34, 211, 238, 0.3);
  border: 1px solid rgba(34, 211, 238, 0.5);
}

.filter-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
}

.filter-arrow {
  color: var(--text-secondary);
  font-size: 0.75rem;
  opacity: 0.5;
}

/* Card Risk Bar */
.card-risk-bar {
  height: 4px;
  background: rgba(241, 245, 249, 0.06);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.risk-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 75%;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  border-radius: 2px;
}

.card-risk-bar .risk-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.risk-bar-labels span {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Card Instruments */
.card-instruments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.instrument-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(212, 168, 83, 0.08);
  color: var(--gold);
  border: 1px solid rgba(212, 168, 83, 0.15);
}

/* === Services Grid === */
.services {
  background: var(--bg-gradient);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.06);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.service-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #0a0e17;
}

.service-header {
  margin-bottom: 28px;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.service-icon-wrap.gold {
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold);
}

.service-icon-wrap.cyan {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-features {
  margin-bottom: 32px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(241, 245, 249, 0.04);
  font-size: 0.95rem;
}

.service-features li:last-child {
  border-bottom: none;
}

.feature-check {
  color: var(--cyan);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* === Backtest Section === */
.backtest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.backtest-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.06);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.backtest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: rgba(34, 211, 238, 0.15);
}

.backtest-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.backtest-value {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 8px;
  line-height: 1.2;
}

.backtest-note {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

.backtest-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
  font-style: italic;
  margin-top: 24px;
}

/* Secondary grid for additional metrics */
.backtest-grid-secondary {
  margin-top: 24px;
  margin-bottom: 0;
}

/* Highlight card for key metric */
.backtest-card-highlight {
  border-color: rgba(212, 168, 83, 0.2);
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.05), var(--bg-secondary));
}

.backtest-card-highlight:hover {
  border-color: rgba(212, 168, 83, 0.35);
  box-shadow: var(--gold-glow);
}

/* Gold colored value */
.backtest-value-gold {
  color: var(--gold);
}

/* === Equity Chart Section === */
.equity-section {
  background: var(--bg-primary);
}

.equity-chart-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.06);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.equity-chart-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.equity-tooltip {
  position: absolute;
  background: rgba(17, 24, 39, 0.95);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 10;
  white-space: nowrap;
}

.equity-tooltip.visible {
  opacity: 1;
}

.equity-tooltip .tooltip-date {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

.equity-tooltip .tooltip-value {
  color: var(--gold);
  font-weight: 600;
}

.equity-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
  font-style: italic;
  margin-top: 20px;
}

/* === Simulator Section === */
.simulator-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1220 100%);
}

.simulator-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.08);
  border-radius: var(--radius-card);
  padding: 40px;
  box-shadow: var(--card-shadow);
}

.simulator-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-input-group label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.sim-input-group input,
.sim-input-group select {
  background: var(--bg-primary);
  border: 1px solid rgba(241, 245, 249, 0.1);
  border-radius: var(--radius-input);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
}

.sim-input-group input:focus,
.sim-input-group select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.sim-input-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.sim-risk-btns {
  display: flex;
  gap: 12px;
}

.sim-risk-btn {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-primary);
  border: 1px solid rgba(241, 245, 249, 0.1);
  border-radius: var(--radius-input);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sim-risk-btn:hover {
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--text-primary);
}

.sim-risk-btn.active {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(34, 211, 238, 0.05));
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: 600;
}

.sim-calculate-btn {
  margin-top: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: var(--radius-btn);
  color: var(--bg-primary);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sim-calculate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3);
}

.sim-calculate-btn:active {
  transform: translateY(0);
}

.sim-calculate-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.sim-calculate-btn:active::after {
  width: 300px;
  height: 300px;
}

.simulator-results {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(241, 245, 249, 0.08);
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sim-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(241, 245, 249, 0.04);
}

.sim-result-row:last-of-type {
  border-bottom: none;
}

.sim-result-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sim-result-value {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
}

.sim-result-value.profit {
  color: #22c55e;
}

.sim-result-value.rate {
  color: #22c55e;
}

.sim-result-value.drawdown {
  color: var(--danger);
}

.sim-result-value.desc {
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  max-width: 60%;
  text-align: right;
}

.sim-disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Market Insights Section === */
.market-section {
  background: var(--bg-primary);
}

.market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.market-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.06);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.market-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--card-accent, var(--cyan)), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.market-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
}

.market-card:hover::before {
  opacity: 1;
}

.market-card.gold {
  --card-accent: var(--gold);
}

.market-card.gold:hover {
  border-color: rgba(212, 168, 83, 0.2);
  box-shadow: 0 4px 24px rgba(212, 168, 83, 0.1);
}

.market-card.silver {
  --card-accent: #c0c0c0;
}

.market-card.silver:hover {
  border-color: rgba(192, 192, 192, 0.2);
  box-shadow: 0 4px 24px rgba(192, 192, 192, 0.08);
}

.market-card.btc {
  --card-accent: #f7931a;
}

.market-card.btc:hover {
  border-color: rgba(247, 147, 26, 0.2);
  box-shadow: 0 4px 24px rgba(247, 147, 26, 0.1);
}

.market-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.market-icon {
  font-size: 1.2rem;
}

.gold-icon {
  color: var(--gold);
}

.silver-icon {
  color: #c0c0c0;
}

.btc-icon {
  color: #f7931a;
}

.market-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.market-view {
  margin-bottom: 20px;
}

.market-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.market-view.bullish .market-tag {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.market-view.dip .market-tag {
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.market-view.range .market-tag {
  background: rgba(234, 179, 8, 0.1);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.25);
}

.market-levels {
  margin-bottom: 20px;
}

.market-level {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.level-label {
  color: var(--text-secondary);
}

.level-value {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 500;
}

.market-comment {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(241, 245, 249, 0.02);
  border-radius: 8px;
  border-left: 2px solid rgba(241, 245, 249, 0.1);
}

.market-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

.market-footer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* === FAQ Section === */
.faq-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1220 100%);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.06);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(241, 245, 249, 0.1);
}

.faq-item.active {
  border-color: rgba(212, 168, 83, 0.3);
  border-left: 3px solid var(--gold);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background: rgba(241, 245, 249, 0.02);
}

.faq-arrow {
  color: var(--gold);
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  transform: rotate(90deg);
}

.faq-question span:last-child {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.5;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px 48px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* === Risk Section === */
.risk {
  background: var(--bg-primary);
}

.risk-box {
  background: var(--warning-bg);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.risk-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.risk-icon {
  font-size: 2rem;
  color: var(--warning);
}

.risk-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--warning);
}

.risk-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.risk-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.risk-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  color: var(--warning);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.risk-item p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 3px;
}

/* === Contact Section === */
.contact {
  background: var(--bg-gradient);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(241, 245, 249, 0.06);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow);
  border-color: rgba(212, 168, 83, 0.15);
}

.contact-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--gold);
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-all;
}

/* === Footer === */
.footer {
  border-top: 1px solid rgba(241, 245, 249, 0.06);
  padding: 48px 0 32px;
  background: var(--bg-primary);
}

.footer-content {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.footer-bottom {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

.footer-bottom p {
  margin-bottom: 4px;
}

.footer-icp {
  font-family: var(--font-mono);
}

/* === Animations === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .backtest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-cards .market-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(241, 245, 249, 0.06);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 100px 0 64px;
    min-height: auto;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-number,
  .hero-stat-suffix {
    font-size: 1.8rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .backtest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .market-cards {
    grid-template-columns: 1fr;
  }

  .market-cards .market-card:last-child {
    max-width: none;
  }

  .simulator-card {
    padding: 24px;
  }

  .sim-risk-btns {
    flex-wrap: wrap;
  }

  .sim-risk-btn {
    flex: 1 1 calc(33% - 8px);
    min-width: 80px;
  }

  .sim-result-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .sim-result-value.desc {
    max-width: 100%;
    text-align: left;
  }

  .faq-question {
    padding: 16px 20px;
  }

  .faq-answer p {
    padding: 0 20px 16px 40px;
  }

  .equity-chart-wrapper {
    aspect-ratio: 4 / 3;
  }

  .risk-box {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .backtest-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .backtest-value {
    font-size: 1.8rem;
  }
}
