/* ============================================================
   易欧 | 全球领先的数字资产交易平台
   配色：深色(#0a0f1c) + 情绪蓝(#2563eb) + 数据紫(#7c3aed) 
         + 稳定绿(#10b981) + 智慧金(#f59e0b) + 白
   ============================================================ */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #0a0f1c;
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: #2563eb; text-decoration: none; transition: color 0.3s; }
a:hover { color: #3b82f6; }
img { max-width: 100%; height: auto; display: block; }

/* === Container === */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
  50% { box-shadow: 0 0 0 20px rgba(37, 99, 235, 0); }
}
@keyframes pulseBtn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes emotionWave {
  0%, 100% { transform: translateY(0); }
  25% { transform: translateY(-8px); }
  75% { transform: translateY(8px); }
}
@keyframes dataFlow {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 5px rgba(124, 58, 237, 0.3); }
  50% { box-shadow: 0 0 25px rgba(124, 58, 237, 0.7); }
}
@keyframes scanLine {
  0% { background-position: 0 0; }
  100% { background-position: 0 200px; }
}

.fade-in-up { animation: fadeInUp 0.8s ease forwards; }
.fade-in-up-delay-1 { animation: fadeInUp 0.8s 0.2s ease forwards; opacity: 0; }
.fade-in-up-delay-2 { animation: fadeInUp 0.8s 0.4s ease forwards; opacity: 0; }
.fade-in-up-delay-3 { animation: fadeInUp 0.8s 0.6s ease forwards; opacity: 0; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Header / Nav === */
header {
  background: rgba(10, 15, 28, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 70px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
nav ul { display: flex; list-style: none; gap: 6px; }
nav a {
  color: #94a3b8;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s;
}
nav a:hover, nav a.active { color: #fff; background: rgba(37, 99, 235, 0.15); }
.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4); color: #fff; }
.btn-cta {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #0a0f1c;
  animation: pulseBtn 2s infinite;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5); color: #0a0f1c; }
.btn-outline {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
}
.btn-outline:hover { background: #2563eb; color: #fff; }
.btn-green {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4); color: #fff; }

/* === Hero === */
#hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
  animation: dataFlow 20s linear infinite;
}
.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 20px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: #60a5fa;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
#hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
#hero .hero-subtitle {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 0 auto 30px;
}
#hero .hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-image { margin-top: 50px; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .stat-label { color: #94a3b8; font-size: 0.9rem; margin-top: 4px; }

/* === Section Common === */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
}
.section-header h2 span.gradient {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p { color: #94a3b8; max-width: 600px; margin: 0 auto; }

/* === Features === */
#features { background: rgba(37, 99, 235, 0.03); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 30px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #10b981);
  opacity: 0;
  transition: opacity 0.4s;
}
.feature-card:hover { transform: translateY(-8px); border-color: rgba(37, 99, 235, 0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.feature-icon.blue { background: rgba(37, 99, 235, 0.15); color: #2563eb; }
.feature-icon.purple { background: rgba(124, 58, 237, 0.15); color: #7c3aed; }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.feature-icon.gold { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.feature-card p { color: #94a3b8; font-size: 0.95rem; line-height: 1.7; }

/* === Sentiment Dashboard === */
#sentiment-dashboard { background: #060b18; }
.dashboard-wrapper {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px;
}
.dashboard-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.gauge-row { display: flex; gap: 40px; flex-wrap: wrap; justify-content: center; }
.gauge-item { text-align: center; }
.gauge-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto 10px;
  position: relative;
}
.gauge-circle.fear { background: conic-gradient(#10b981 0% 35%, rgba(255,255,255,0.05) 35% 100%); }
.gauge-circle.neutral { background: conic-gradient(#f59e0b 0% 65%, rgba(255,255,255,0.05) 65% 100%); }
.gauge-circle.greed { background: conic-gradient(#ef4444 0% 45%, rgba(255,255,255,0.05) 45% 100%); }
.gauge-inner {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #0a0f1c;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
}
.gauge-label { color: #94a3b8; font-size: 0.85rem; margin-top: 4px; }
.sentiment-chart {
  height: 200px;
  background: linear-gradient(180deg, rgba(37,99,235,0.05), transparent);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  margin-top: 30px;
  display: flex; align-items: flex-end; gap: 4px;
  padding: 10px;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  min-width: 6px;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}
.chart-bar:nth-child(odd) { background: linear-gradient(180deg, #2563eb, #1d4ed8); animation-delay: calc(var(--i) * 0.05s); }
.chart-bar:nth-child(even) { background: linear-gradient(180deg, #7c3aed, #6d28d9); animation-delay: calc(var(--i) * 0.05s); }

/* === CTA Section === */
#cta {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  text-align: center;
  padding: 60px 0;
}
#cta h2 { font-size: 2rem; margin-bottom: 12px; color: #fff; }
#cta p { color: #94a3b8; margin-bottom: 30px; font-size: 1.1rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Footer === */
footer {
  background: #060b18;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 { color: #fff; margin-bottom: 16px; font-size: 1.05rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #64748b; font-size: 0.9rem; }
.footer-col a:hover { color: #2563eb; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  text-align: center;
  color: #64748b;
  font-size: 0.85rem;
}

/* === About Page === */
.about-hero { padding: 60px 0; text-align: center; }
.about-hero h1 { font-size: 2.5rem; color: #fff; margin-bottom: 12px; }
.about-hero p { color: #94a3b8; max-width: 700px; margin: 0 auto; }
.timeline { position: relative; padding: 20px 0 20px 30px; border-left: 2px solid rgba(37, 99, 235, 0.3); }
.timeline-item { margin-bottom: 40px; position: relative; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #2563eb;
  border: 3px solid #0a0f1c;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}
.timeline-year { color: #2563eb; font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.timeline-content { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 20px; border: 1px solid rgba(255,255,255,0.05); }
.timeline-content h3 { color: #fff; margin-bottom: 6px; }
.timeline-content p { color: #94a3b8; font-size: 0.9rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.3); }
.team-card img { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 16px; object-fit: cover; }
.team-card h4 { color: #fff; margin-bottom: 4px; }
.team-card span { color: #2563eb; font-size: 0.85rem; }

/* === Services Page === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 30px; }
.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 36px 30px;
  transition: all 0.4s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(37,99,235,0.3); box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.service-icon { width: 56px; height: 56px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.service-card h3 { color: #fff; margin-bottom: 10px; font-size: 1.2rem; }
.service-card p { color: #94a3b8; font-size: 0.95rem; margin-bottom: 16px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag { padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; background: rgba(37,99,235,0.1); color: #60a5fa; }

/* === FAQ Page === */
.faq-search {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
}
.faq-search input {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  outline: none;
}
.faq-search input::placeholder { color: #64748b; }
.faq-categories { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.faq-cat {
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.faq-cat:hover, .faq-cat.active { background: rgba(37,99,235,0.15); color: #2563eb; border-color: rgba(37,99,235,0.3); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: #2563eb;
  transition: transform 0.3s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-answer { padding: 0 24px 20px; color: #94a3b8; font-size: 0.95rem; line-height: 1.8; }

/* === Contact Page === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-form { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 16px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: #e2e8f0; margin-bottom: 6px; font-size: 0.9rem; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #2563eb;
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 20px;
}
.contact-info-card h4 { color: #fff; margin-bottom: 12px; }
.contact-info-card p { color: #94a3b8; font-size: 0.9rem; }

.offices-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.office-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.office-card h4 { color: #fff; margin-bottom: 6px; }
.office-card p { color: #64748b; font-size: 0.85rem; }

/* === Page Header === */
.page-header { text-align: center; padding: 60px 0 30px; }
.page-header h1 { font-size: 2.5rem; color: #fff; margin-bottom: 10px; }
.page-header p { color: #94a3b8; }

/* === Breadcrumb === */
.breadcrumb { display: flex; gap: 8px; font-size: 0.85rem; color: #64748b; margin-bottom: 40px; }
.breadcrumb a { color: #64748b; }
.breadcrumb a:hover { color: #2563eb; }

/* === Responsive === */
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #hero h1 { font-size: 2rem; }
  .hero-stats { gap: 30px; }
  .hero-stat .stat-num { font-size: 1.8rem; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.6rem; }
  nav ul { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: rgba(10,15,28,0.98); flex-direction: column; padding: 16px; border-top: 1px solid rgba(255,255,255,0.06); }
  nav ul.open { display: flex; }
  .menu-toggle { display: block; }
  .dashboard-wrapper { padding: 20px; }
  .team-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #hero h1 { font-size: 1.5rem; }
  #hero .hero-buttons { flex-direction: column; align-items: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
