/* ============================================================
   火币app官方下载 - 主样式表
   配色：深色(#0d0d1a) + 火币橙(#f7931a) + 全球蓝(#1e40af) + 安全绿(#10b981) + 白
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --bg-primary: #0d0d1a;
  --bg-secondary: #13132a;
  --bg-card: #1a1a35;
  --bg-card-hover: #222248;
  --huobi-orange: #f7931a;
  --huobi-orange-light: #fbb040;
  --global-blue: #1e40af;
  --global-blue-light: #3b82f6;
  --safety-green: #10b981;
  --safety-green-light: #34d399;
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --text-muted: #6b6b8a;
  --border-color: #2a2a50;
  --shadow-orange: 0 0 30px rgba(247, 147, 26, 0.15);
  --shadow-blue: 0 0 30px rgba(30, 64, 175, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- Utility --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.section-subtitle { color: var(--huobi-orange); font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
.section-title { font-size: 2.4rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.section-desc { color: var(--text-secondary); font-size: 1.1rem; max-width: 700px; margin: 0 auto 48px; }

/* --- Header & Navigation --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 13, 26, 0.9); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--huobi-orange); letter-spacing: 1px; display: flex; align-items: center; gap: 8px; }
.logo span { color: var(--text-primary); font-size: 0.85rem; font-weight: 400; opacity: 0.7; }
.nav-menu { display: flex; gap: 32px; align-items: center; }
.nav-menu a { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; }
.nav-menu a:hover, .nav-menu a.active { color: var(--huobi-orange); }
.nav-menu a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--huobi-orange); transition: width var(--transition); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-download-btn { background: linear-gradient(135deg, var(--huobi-orange), var(--huobi-orange-light)); color: #000 !important; padding: 8px 20px; border-radius: 25px; font-weight: 700 !important; transition: all var(--transition); }
.nav-download-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(247, 147, 26, 0.4); }
.nav-download-btn::after { display: none !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }

/* --- Hero Section --- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: radial-gradient(ellipse at 20% 50%, rgba(247, 147, 26, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(30, 64, 175, 0.1) 0%, transparent 50%),
              var(--bg-primary);
  padding: 120px 0 80px; position: relative; overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f7931a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { animation: fadeInUp 0.8s ease; }
.hero-badge { display: inline-block; background: rgba(247, 147, 26, 0.15); color: var(--huobi-orange-light); padding: 6px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.hero h1 .highlight { color: var(--huobi-orange); }
.hero p { color: var(--text-secondary); font-size: 1.15rem; margin-bottom: 32px; max-width: 540px; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2rem; font-weight: 800; color: var(--huobi-orange); }
.hero-stat .label { font-size: 0.85rem; color: var(--text-muted); }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 30px; font-weight: 700; font-size: 1rem; cursor: pointer; transition: all var(--transition); border: none; }
.btn-primary { background: linear-gradient(135deg, var(--huobi-orange), #e8820a); color: #fff; box-shadow: 0 4px 20px rgba(247, 147, 26, 0.3); animation: pulse 2s infinite; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(247, 147, 26, 0.5); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 2px solid var(--border-color); }
.btn-secondary:hover { border-color: var(--huobi-orange); color: var(--huobi-orange); transform: translateY(-2px); }
.btn-blue { background: linear-gradient(135deg, var(--global-blue), var(--global-blue-light)); color: #fff; box-shadow: 0 4px 20px rgba(30, 64, 175, 0.3); }
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(30, 64, 175, 0.5); }
.btn-green { background: linear-gradient(135deg, var(--safety-green), var(--safety-green-light)); color: #fff; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3); }
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5); }
.hero-image { animation: fadeInUp 1s ease 0.2s both; }
.hero-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-orange); }

/* --- Features Section --- */
.features { padding: 100px 0; background: var(--bg-secondary); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 32px; transition: all var(--transition); position: relative; overflow: hidden;
}
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--huobi-orange), var(--global-blue)); opacity: 0; transition: opacity var(--transition); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--huobi-orange); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 56px; height: 56px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.feature-icon.orange { background: rgba(247, 147, 26, 0.1); color: var(--huobi-orange); }
.feature-icon.blue { background: rgba(30, 64, 175, 0.1); color: var(--global-blue-light); }
.feature-icon.green { background: rgba(16, 185, 129, 0.1); color: var(--safety-green); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* --- Download Section --- */
.download-section { padding: 100px 0; background: var(--bg-primary); }
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.download-info h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.download-info p { color: var(--text-secondary); margin-bottom: 24px; }
.download-platforms { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.platform-card {
  background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 24px; text-align: center; flex: 1; min-width: 160px; transition: all var(--transition);
}
.platform-card:hover { border-color: var(--huobi-orange); transform: translateY(-4px); }
.platform-card h4 { font-size: 1.1rem; margin-bottom: 12px; }
.platform-card .btn { width: 100%; justify-content: center; }
.download-qr { display: flex; justify-content: center; }
.download-qr img { border-radius: var(--radius-lg); box-shadow: var(--shadow-blue); max-width: 280px; }

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0; background: linear-gradient(135deg, rgba(247, 147, 26, 0.1), rgba(30, 64, 175, 0.1));
  text-align: center;
}
.cta-section h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 32px; font-size: 1.1rem; }

/* --- About Page --- */
.about-hero { padding: 140px 0 80px; text-align: center; background: radial-gradient(ellipse at center, rgba(247, 147, 26, 0.06) 0%, transparent 70%), var(--bg-primary); }
.about-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; }
.about-hero p { color: var(--text-secondary); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.about-content { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 80px; }
.about-grid.reverse { direction: rtl; }
.about-grid.reverse > * { direction: ltr; }
.about-text h2 { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }
.about-text p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.timeline { padding: 80px 0; }
.timeline h2 { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 48px; }
.timeline-list { position: relative; }
.timeline-list::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--huobi-orange), var(--global-blue)); transform: translateX(-50%); }
.timeline-item { display: flex; align-items: center; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { justify-content: flex-start; padding-right: calc(50% + 30px); }
.timeline-item:nth-child(even) { justify-content: flex-end; padding-left: calc(50% + 30px); }
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--huobi-orange); position: absolute; left: 50%; transform: translateX(-50%); box-shadow: 0 0 16px rgba(247, 147, 26, 0.5); z-index: 1; }
.timeline-content { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; }
.timeline-content .year { color: var(--huobi-orange); font-weight: 700; font-size: 1.1rem; }
.timeline-content h4 { margin: 8px 0; }
.timeline-content p { color: var(--text-secondary); font-size: 0.9rem; }

/* Security Grid */
.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.security-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 28px; text-align: center; transition: all var(--transition); }
.security-card:hover { border-color: var(--safety-green); transform: translateY(-4px); }
.security-card h4 { margin: 12px 0 8px; }
.security-card p { color: var(--text-secondary); font-size: 0.9rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.team-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; text-align: center; transition: all var(--transition); }
.team-card:hover { transform: translateY(-4px); border-color: var(--huobi-orange); }
.team-card img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px; }
.team-card h4 { margin-bottom: 4px; }
.team-card .role { color: var(--huobi-orange); font-size: 0.85rem; }

/* --- Services Page --- */
.services-hero { padding: 140px 0 80px; text-align: center; background: radial-gradient(ellipse at center, rgba(30, 64, 175, 0.06) 0%, transparent 70%), var(--bg-primary); }
.services-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; }
.services-hero p { color: var(--text-secondary); max-width: 700px; margin: 0 auto; font-size: 1.1rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 80px 0; }
.service-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 36px 28px; transition: all var(--transition); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); border-color: var(--global-blue); }
.service-card .icon { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 20px; }
.service-card .icon.orange { background: rgba(247, 147, 26, 0.1); color: var(--huobi-orange); }
.service-card .icon.blue { background: rgba(30, 64, 175, 0.1); color: var(--global-blue-light); }
.service-card .icon.green { background: rgba(16, 185, 129, 0.1); color: var(--safety-green); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; }
.service-features { list-style: none; }
.service-features li { padding: 6px 0; color: var(--text-secondary); font-size: 0.9rem; position: relative; padding-left: 20px; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--safety-green); font-weight: 700; }
.services-table { padding: 80px 0; background: var(--bg-secondary); }
.services-table table { width: 100%; border-collapse: collapse; }
.services-table th, .services-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border-color); }
.services-table th { color: var(--huobi-orange); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; background: rgba(247,147,26,0.05); }
.services-table tr:hover td { background: rgba(247,147,26,0.03); }
.services-table .check { color: var(--safety-green); font-weight: 700; }

/* --- FAQ Page --- */
.faq-hero { padding: 140px 0 60px; text-align: center; background: radial-gradient(ellipse at center, rgba(16, 185, 129, 0.05) 0%, transparent 70%), var(--bg-primary); }
.faq-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; }
.faq-search { max-width: 600px; margin: 24px auto 0; position: relative; }
.faq-search input { width: 100%; padding: 14px 48px 14px 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 30px; color: var(--text-primary); font-size: 1rem; outline: none; transition: var(--transition); }
.faq-search input:focus { border-color: var(--huobi-orange); box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.1); }
.faq-search .search-icon { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.faq-categories { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; padding: 30px 0; }
.faq-cat-btn { padding: 10px 24px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 25px; color: var(--text-secondary); cursor: pointer; font-size: 0.9rem; transition: all var(--transition); }
.faq-cat-btn:hover, .faq-cat-btn.active { background: var(--huobi-orange); color: #fff; border-color: var(--huobi-orange); }
.faq-list { padding: 0 0 80px; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 20px; color: var(--huobi-orange); }
details.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; transition: all var(--transition); }
details.faq-item:hover { border-color: var(--huobi-orange); }
details.faq-item[open] { border-color: var(--huobi-orange); box-shadow: var(--shadow-orange); }
details.faq-item summary { padding: 18px 24px; cursor: pointer; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; user-select: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--huobi-orange); transition: transform var(--transition); }
details.faq-item[open] summary::after { content: '−'; }
details.faq-item .faq-answer { padding: 0 24px 20px; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }

/* --- Contact Page --- */
.contact-hero { padding: 140px 0 60px; text-align: center; background: radial-gradient(ellipse at center, rgba(247, 147, 26, 0.05) 0%, transparent 70%), var(--bg-primary); }
.contact-hero h1 { font-size: 2.8rem; font-weight: 900; margin-bottom: 16px; }
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; padding: 0 0 80px; }
.contact-form { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 36px; }
.contact-form h2 { font-size: 1.5rem; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.95rem; outline: none; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--huobi-orange); box-shadow: 0 0 0 3px rgba(247,147,26,0.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius); padding: 24px; transition: all var(--transition); }
.info-card:hover { border-color: var(--huobi-orange); }
.info-card h4 { margin-bottom: 8px; }
.info-card p { color: var(--text-secondary); font-size: 0.9rem; }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link { padding: 10px 20px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 25px; font-size: 0.9rem; transition: all var(--transition); }
.social-link:hover { border-color: var(--huobi-orange); color: var(--huobi-orange); }

/* --- Footer --- */
.site-footer {
  background: var(--bg-secondary); border-top: 1px solid var(--border-color);
  padding: 40px 0 30px; text-align: center;
}
.site-footer p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); font-size: 0.85rem; }
.footer-links a:hover { color: var(--huobi-orange); }

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(247, 147, 26, 0.3); }
  50% { box-shadow: 0 4px 40px rgba(247, 147, 26, 0.6); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

.btn-download-anim {
  position: relative; overflow: hidden;
}
.btn-download-anim::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: rotate(45deg); animation: btnShine 2s infinite;
}
@keyframes btnShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero .container, .download-grid, .about-grid { grid-template-columns: 1fr; }
  .features-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .security-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline-list::before { left: 20px; }
  .timeline-item:nth-child(odd), .timeline-item:nth-child(even) { padding: 0 0 0 50px; justify-content: flex-start; }
  .timeline-dot { left: 20px; }
  .hero h1 { font-size: 2.2rem; }
  .section-title { font-size: 1.8rem; }
  .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: rgba(13,13,26,0.98); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--border-color); }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: flex; }
}

@media (max-width: 576px) {
  .features-grid, .services-grid, .security-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .download-platforms { flex-direction: column; }
  .hero h1 { font-size: 1.8rem; }
}
