/* ============================================
   殴易交易所 - 全局样式表
   配色：深蓝主调 + 金色强调 + 专业稳重
   ============================================ */

/* CSS 变量 */
:root {
  --primary-dark: #0a1628;
  --primary-darker: #060e1a;
  --primary-blue: #1e3a5f;
  --accent-gold: #f5a623;
  --accent-orange: #ff6b35;
  --accent-green: #00c896;
  --accent-red: #ff4757;
  --text-white: #ffffff;
  --text-light: #b8c5d6;
  --text-gray: #7a8ba0;
  --bg-light: #f4f7fb;
  --bg-card: #142036;
  --bg-card-hover: #1a2a44;
  --border-color: rgba(255, 255, 255, 0.08);
  --gradient-gold: linear-gradient(135deg, #f5a623 0%, #ff6b35 100%);
  --gradient-blue: linear-gradient(135deg, #1e3a5f 0%, #0a1628 100%);
  --gradient-dark: linear-gradient(180deg, #0a1628 0%, #060e1a 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.35);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 重置与基础样式 */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--primary-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   导航栏
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(6, 14, 26, 0.98);
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
}

.nav-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.nav-brand-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text-white);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--primary-dark);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.4);
  color: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-white);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
}

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

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

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

/* ============================================
   Hero 区域
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--gradient-dark);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(245, 166, 35, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  display: block;
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 15s infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% {
    transform: translateY(-100px) rotate(720deg);
    opacity: 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-gold);
  margin-bottom: 24px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

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

.hero h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border-color);
}

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

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-visual {
  animation: fadeInRight 1s ease-out;
  position: relative;
}

.hero-phone {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

.hero-phone-img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(245, 166, 35, 0.2);
}

.hero-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: floatAnim 6s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -20px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -20px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.float-card-title {
  font-size: 0.75rem;
  color: var(--text-gray);
  margin-bottom: 4px;
}

.float-card-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-green);
}

.float-card-change {
  font-size: 0.75rem;
  color: var(--accent-green);
}

/* ============================================
   通用 Section 样式
   ============================================ */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--primary-darker);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header h2 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.05rem;
}

/* ============================================
   核心特性
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(245, 166, 35, 0.3);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-white);
}

.feature-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   服务介绍
   ============================================ */
.services {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-row.reverse {
  direction: rtl;
}

.service-row.reverse > * {
  direction: ltr;
}

.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-image:hover img {
  transform: scale(1.05);
}

.service-content h3 {
  margin-bottom: 16px;
  color: var(--text-white);
}

.service-content p {
  margin-bottom: 24px;
}

.service-list {
  list-style: none;
  margin-bottom: 32px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-light);
}

.service-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(0, 200, 150, 0.15);
  color: var(--accent-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ============================================
   下载区域
   ============================================ */
.download-section {
  background: var(--gradient-dark);
}

.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.download-info h2 {
  margin-bottom: 20px;
}

.download-info p {
  margin-bottom: 32px;
}

.download-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-width: 200px;
}

.download-btn:hover {
  border-color: var(--accent-gold);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.download-btn-icon {
  font-size: 2.2rem;
}

.download-btn-text {
  text-align: left;
}

.download-btn-label {
  font-size: 0.75rem;
  color: var(--text-gray);
}

.download-btn-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-white);
}

.download-preview {
  text-align: center;
}

.download-preview img {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(245, 166, 35, 0.15);
}

/* ============================================
   详细内容区
   ============================================ */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.detail-card:hover {
  border-color: rgba(245, 166, 35, 0.3);
  transform: translateY(-4px);
}

.detail-card h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--accent-gold);
}

.detail-card h3::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.detail-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================
   数据统计条
   ============================================ */
.stats-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px;
  margin-top: 60px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-block h3 {
  font-size: 2.8rem;
  font-weight: 800;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-block p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* ============================================
   常见问题 (FAQ)
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--accent-gold);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(245, 166, 35, 0.05);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent-gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

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

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

.faq-answer-inner {
  padding: 0 28px 24px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   CTA 区域
   ============================================ */
.cta {
  background: var(--gradient-gold);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  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='%230a1628' fill-opacity='0.05'%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");
}

.cta-content {
  position: relative;
  z-index: 1;
  color: var(--primary-dark);
}

.cta-content h2 {
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(10, 22, 40, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.cta .btn-primary {
  background: var(--primary-dark);
  color: var(--text-white);
}

.cta .btn-primary:hover {
  background: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.4);
  color: var(--text-white);
}

/* ============================================
   页脚
   ============================================ */
.footer {
  background: var(--primary-darker);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .nav-brand {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.05rem;
  color: var(--text-white);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 30px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  margin-bottom: 0;
  color: var(--text-gray);
}

/* ============================================
   关于页面
   ============================================ */
.page-banner {
  padding: 160px 0 80px;
  background: var(--gradient-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.1) 0%, transparent 60%);
}

.page-banner-content {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  margin-bottom: 16px;
}

.page-banner p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.breadcrumb a {
  color: var(--text-gray);
}

.breadcrumb a:hover {
  color: var(--accent-gold);
}

.breadcrumb span {
  margin: 0 8px;
  color: var(--text-gray);
}

/* 关于 - 团队介绍 */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 166, 35, 0.3);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card-info {
  padding: 24px;
  text-align: center;
}

.team-card-info h3 {
  margin-bottom: 4px;
}

.team-card-info .role {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.team-card-info p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* 关于 - 价值观 */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.value-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* ============================================
   联系页面
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-info-item:hover {
  border-color: var(--accent-gold);
  transform: translateX(8px);
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  background: var(--gradient-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-info-content h4 {
  color: var(--text-white);
  margin-bottom: 6px;
}

.contact-info-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--primary-dark);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

/* ============================================
   新闻列表页
   ============================================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 166, 35, 0.3);
}

.news-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 12px;
}

.news-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.news-card h3 a {
  color: var(--text-white);
}

.news-card h3 a:hover {
  color: var(--accent-gold);
}

.news-card p {
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 16px;
}

.news-card-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-card-more::after {
  content: '→';
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-more::after {
  transform: translateX(4px);
}

/* 新闻详情页 */
.news-detail-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-header {
  margin-bottom: 40px;
}

.news-detail-header h1 {
  margin-bottom: 20px;
}

.news-detail-meta {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-gray);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.news-detail-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-detail-content {
  font-size: 1.05rem;
  line-height: 2;
}

.news-detail-content h2 {
  font-size: 1.4rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--accent-gold);
}

.news-detail-content h3 {
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--accent-gold);
}

.news-detail-content p {
  margin-bottom: 20px;
}

.news-detail-content ul,
.news-detail-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-light);
}

.news-detail-content li {
  margin-bottom: 8px;
}

.news-detail-content img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}

.news-detail-content blockquote {
  border-left: 4px solid var(--accent-gold);
  padding: 20px 24px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-light);
}

/* ============================================
   产品页面
   ============================================ */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-spot { background: rgba(0, 200, 150, 0.15); color: var(--accent-green); }
.tag-futures { background: rgba(245, 166, 35, 0.15); color: var(--accent-gold); }
.tag-option { background: rgba(255, 107, 53, 0.15); color: var(--accent-orange); }
.tag-savings { background: rgba(100, 149, 237, 0.15); color: #6495ed; }

.product-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 4px;
}

.product-change {
  font-size: 0.9rem;
  font-weight: 600;
}

.change-up { color: var(--accent-green); }
.change-down { color: var(--accent-red); }

/* ============================================
   404 页面
   ============================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: var(--gradient-dark);
}

.error-content h1 {
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  line-height: 1;
}

.error-content h2 {
  margin-bottom: 16px;
}

.error-content p {
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

/* ============================================
   动画
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   返回顶部
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-phone {
    max-width: 300px;
  }

  .service-row,
  .download-grid,
  .contact-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }

  .service-row.reverse {
    direction: ltr;
  }

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

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

  .stat-block h3 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary-darker);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .section {
    padding: 70px 0;
  }

  .hero-float-card.card-1 {
    right: 0;
  }

  .hero-float-card.card-2 {
    left: 0;
  }

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

  .stats-bar {
    padding: 30px 20px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-block h3 {
    font-size: 1.8rem;
  }

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

  .download-buttons {
    flex-direction: column;
  }

  .download-btn {
    min-width: auto;
  }

  .page-banner {
    padding: 130px 0 60px;
  }

  .contact-form-wrap {
    padding: 24px;
  }

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

  .faq-question {
    font-size: 0.95rem;
    padding: 18px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .service-image img {
    height: 250px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
}

/* ============================================
   打印样式（Core Web Vitals 优化）
   ============================================ */
@media print {
  .header, .nav-toggle, .hero-particles, .back-to-top,
  .footer-social, .download-buttons, .hero-actions {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ============================================
   减少动画偏好（可访问性）
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
