/* ============================================================
   OKB官网 - 全球领先数字资产交易平台
   配色：深色(#080e1c) + OKB蓝(#2563eb) + 生态金(#f59e0b) + 白色
   ============================================================ */

/* --- 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", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #080e1c;
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
}

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

.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 18px rgba(37, 99, 235, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate { animation: fadeInUp 0.8s ease-out forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }
.delay-4 { animation-delay: 0.4s; opacity: 0; }
.delay-5 { animation-delay: 0.5s; opacity: 0; }
.delay-6 { animation-delay: 0.6s; opacity: 0; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Header & Navigation --- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8, 14, 28, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  transition: background 0.3s;
}
header.scrolled { background: rgba(8, 14, 28, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.5rem; font-weight: 800;
  background: linear-gradient(135deg, #2563eb, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

nav ul { display: flex; list-style: none; gap: 28px; }
nav a {
  color: #94a3b8; font-size: 0.95rem; font-weight: 500;
  padding: 6px 0; position: relative; transition: color 0.3s;
}
nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, #2563eb, #f59e0b);
  transition: width 0.3s;
}
nav a:hover, nav a.active { color: #fff; }
nav a:hover::after, nav a.active::after { width: 100%; }

.nav-download {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff !important; padding: 10px 22px !important;
  border-radius: 8px; font-weight: 600 !important; transition: all 0.3s !important;
}
.nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}
.nav-download::after { display: none !important; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; transition: 0.3s; border-radius: 2px; }

/* --- Hero --- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 60%, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}

.hero-content h1 {
  font-size: 3.2rem; font-weight: 900; line-height: 1.2; margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #2563eb 40%, #f59e0b 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}
.hero-content .subtitle {
  font-size: 1.2rem; color: #94a3b8; margin-bottom: 36px;
  line-height: 1.8; animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero-buttons {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s; border: none; text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; animation: pulse 2.5s infinite;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37, 99, 235, 0.45); color: #fff; }
.btn-secondary {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(245, 158, 11, 0.5);
}
.btn-secondary:hover { border-color: #f59e0b; background: rgba(245, 158, 11, 0.1); color: #f59e0b; transform: translateY(-3px); }
.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #080e1c; font-weight: 700;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.4); color: #080e1c; }

.hero-image {
  display: flex; justify-content: center; align-items: center;
  animation: float 6s ease-in-out infinite;
}
.hero-image img {
  max-width: 420px; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(37, 99, 235, 0.2);
}

/* --- Stats --- */
.stats {
  padding: 60px 0; border-top: 1px solid rgba(37, 99, 235, 0.1);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-item { padding: 20px; }
.stat-number {
  font-size: 2.5rem; font-weight: 900;
  background: linear-gradient(135deg, #2563eb, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { color: #94a3b8; font-size: 0.95rem; margin-top: 8px; }

/* --- Section Common --- */
section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: 2.4rem; font-weight: 800; color: #fff; margin-bottom: 16px;
}
.section-header .section-subtitle {
  color: #94a3b8; font-size: 1.1rem; max-width: 600px; margin: 0 auto;
}
.gradient-line {
  width: 80px; height: 3px;
  background: linear-gradient(90deg, #2563eb, #f59e0b);
  border-radius: 2px; margin: 16px auto 0;
}

/* --- Features --- */
#features { background: rgba(255,255,255,0.02); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 16px; padding: 36px 28px; transition: all 0.4s;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
  background: rgba(37, 99, 235, 0.05);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(245,158,11,0.1));
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.feature-card p  { color: #94a3b8; font-size: 0.95rem; line-height: 1.8; }

/* --- CTA Section --- */
#cta {
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(245,158,11,0.05));
  text-align: center;
}
#cta h2 { font-size: 2.4rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
#cta p  { color: #94a3b8; font-size: 1.1rem; margin-bottom: 32px; }
#cta .btn { font-size: 1.1rem; padding: 16px 40px; }

/* --- About Page --- */
.about-hero { padding: 140px 0 80px; }
.about-hero h1 { font-size: 2.8rem; font-weight: 900; color: #fff; margin-bottom: 20px; }
.about-hero .about-intro { color: #94a3b8; font-size: 1.1rem; max-width: 800px; line-height: 1.9; }

.timeline { position: relative; padding: 40px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, #2563eb, #f59e0b);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; align-items: flex-start; margin-bottom: 48px;
  position: relative;
}
.timeline-item:nth-child(odd)  { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-dot {
  position: absolute; left: 50%; top: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #f59e0b);
  transform: translateX(-50%);
  border: 3px solid #080e1c;
  z-index: 1;
}
.timeline-content {
  width: 42%; padding: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(37,99,235,0.1);
  border-radius: 12px;
}
.timeline-year {
  font-size: 1.1rem; font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #f59e0b);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.timeline-content h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.timeline-content p  { color: #94a3b8; font-size: 0.9rem; }

.security-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.security-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(37,99,235,0.1);
  border-radius: 14px; padding: 30px 24px; text-align: center; transition: all 0.3s;
}
.security-card:hover { border-color: rgba(37,99,235,0.3); transform: translateY(-4px); }
.security-card h3 { color: #fff; font-size: 1.05rem; margin: 16px 0 8px; }
.security-card p  { color: #94a3b8; font-size: 0.9rem; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(37,99,235,0.1);
  border-radius: 14px; overflow: hidden; text-align: center; transition: all 0.3s;
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(245,158,11,0.3); }
.team-card img { width: 100%; height: 200px; object-fit: cover; }
.team-info { padding: 20px 16px; }
.team-info h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.team-info .role { color: #f59e0b; font-size: 0.85rem; margin-bottom: 8px; }
.team-info p { color: #94a3b8; font-size: 0.82rem; }

/* --- Services Page --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(37,99,235,0.1);
  border-radius: 16px; padding: 36px 28px; transition: all 0.4s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37,99,235,0.35);
  background: rgba(37,99,235,0.04);
}
.service-card h3 { font-size: 1.2rem; color: #fff; margin-bottom: 14px; }
.service-card p  { color: #94a3b8; font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }
.service-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600;
  background: rgba(37,99,235,0.15); color: #2563eb;
}

.service-table { width: 100%; border-collapse: collapse; margin-top: 40px; }
.service-table th {
  background: rgba(37,99,235,0.1); color: #fff; padding: 16px 20px;
  text-align: left; font-weight: 600; font-size: 0.95rem;
}
.service-table td {
  padding: 14px 20px; border-bottom: 1px solid rgba(37,99,235,0.08);
  color: #94a3b8; font-size: 0.9rem;
}
.service-table tr:hover td { background: rgba(37,99,235,0.03); }

/* --- FAQ Page --- */
.faq-categories { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.faq-cat {
  padding: 10px 24px; border-radius: 30px; font-size: 0.9rem; font-weight: 500;
  border: 1px solid rgba(37,99,235,0.2); color: #94a3b8;
  background: transparent; cursor: pointer; transition: all 0.3s;
}
.faq-cat:hover, .faq-cat.active { background: rgba(37,99,235,0.15); color: #fff; border-color: #2563eb; }

.faq-search { margin-bottom: 32px; }
.faq-search input {
  width: 100%; padding: 14px 20px; border-radius: 10px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(37,99,235,0.15);
  color: #fff; font-size: 1rem; outline: none; transition: border-color 0.3s;
}
.faq-search input:focus { border-color: #2563eb; }

.faq-group { margin-bottom: 40px; }
.faq-group h2 { color: #fff; font-size: 1.4rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(37,99,235,0.1); }

details.faq-item {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(37,99,235,0.08);
  border-radius: 10px; margin-bottom: 12px; overflow: hidden;
  transition: all 0.3s;
}
details.faq-item:hover { border-color: rgba(37,99,235,0.2); }
details.faq-item[open] { border-color: rgba(37,99,235,0.3); background: rgba(37,99,235,0.04); }
details.faq-item summary {
  padding: 18px 24px; cursor: pointer; font-weight: 600; color: #e2e8f0;
  font-size: 1rem; list-style: none; display: flex; justify-content: space-between; align-items: center;
  transition: color 0.3s;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; font-size: 1.3rem; color: #2563eb; font-weight: 300;
  transition: transform 0.3s;
}
details.faq-item[open] summary::after { content: '−'; color: #f59e0b; transform: rotate(180deg); }
details.faq-item[open] summary { color: #fff; }
.faq-answer {
  padding: 0 24px 20px; color: #94a3b8; font-size: 0.95rem; line-height: 1.9;
}

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }

.contact-form-group { margin-bottom: 20px; }
.contact-form-group label { display: block; color: #cbd5e1; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%; padding: 14px 18px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(37,99,235,0.15);
  color: #fff; font-size: 0.95rem; outline: none; transition: border-color 0.3s;
}
.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus { border-color: #2563eb; }
.contact-form-group textarea { min-height: 140px; resize: vertical; }
.contact-form-group select option { background: #080e1c; color: #fff; }

.contact-info-list { list-style: none; }
.contact-info-list li {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px 0;
  border-bottom: 1px solid rgba(37,99,235,0.08);
}
.contact-info-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(245,158,11,0.1));
  border: 1px solid rgba(37,99,235,0.2);
}
.contact-info-text h3 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.contact-info-text p  { color: #94a3b8; font-size: 0.9rem; }

.social-links { display: flex; gap: 14px; margin-top: 16px; }
.social-link {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(37,99,235,0.15);
  color: #94a3b8; font-size: 1.1rem; transition: all 0.3s;
}
.social-link:hover { border-color: #2563eb; color: #fff; background: rgba(37,99,235,0.1); transform: translateY(-2px); }

.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.business-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(37,99,235,0.1);
  border-radius: 12px; padding: 28px 22px; text-align: center; transition: all 0.3s;
}
.business-card:hover { border-color: rgba(245,158,11,0.3); transform: translateY(-4px); }
.business-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.business-card p  { color: #94a3b8; font-size: 0.88rem; margin-bottom: 16px; }

/* --- Global Map --- */
.global-map { text-align: center; padding: 60px 0; }
.global-map img { max-width: 800px; margin: 0 auto; border-radius: 16px; }

/* --- Footer --- */
footer {
  background: rgba(0,0,0,0.3); border-top: 1px solid rgba(37,99,235,0.1);
  padding: 48px 0 24px; color: #64748b; font-size: 0.9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col p { color: #64748b; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #64748b; font-size: 0.88rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: #f59e0b; }
.footer-bottom {
  border-top: 1px solid rgba(37,99,235,0.08);
  padding-top: 24px; text-align: center;
}

/* --- Breadcrumb --- */
.breadcrumb { padding: 100px 0 0; color: #64748b; font-size: 0.9rem; }
.breadcrumb a { color: #94a3b8; }
.breadcrumb span { color: #2563eb; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 300px; }
  .hero-buttons { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: row !important; padding-left: 50px; }
  .timeline-dot { left: 20px; }
  .timeline-content { width: 100%; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav { 
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(8,14,28,0.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(37,99,235,0.15);
  }
  nav.active { display: block; }
  nav ul { flex-direction: column; padding: 20px; gap: 0; }
  nav ul li { padding: 12px 0; border-bottom: 1px solid rgba(37,99,235,0.06); }
  
  .hero-content h1 { font-size: 2.2rem; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .security-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .business-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.8rem; }
  .about-hero h1 { font-size: 2rem; }
  
  .nav-download { display: inline-block; margin-top: 12px; }
}
