/* 股票配资官网 - 高端科技金融风格 */
:root {
  --primary: #ffa726;
  --secondary: #cc851e;
  --glow: rgba(255,167,38,0.3);
  --bg-dark: #0a0e27;
  --bg-mid: #111638;
  --bg-light: #1a1145;
  --text-white: #e8eaf6;
  --text-gray: #9ea7c0;
  --glass-bg: rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.1);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-light) 50%, var(--bg-dark) 100%);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--secondary); }
img { max-width:100%; height:auto; }

/* 导航栏 */
.navbar {
  position: fixed; top:0; left:0; right:0; z-index:1000;
  background: rgba(10,14,39,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0 2rem;
  height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-size: 1.4rem; font-weight: 700;
  background: linear-gradient(90deg, var(--primary), #fff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display:flex; gap:1.5rem; list-style:none; align-items:center; }
.nav-links a {
  color: var(--text-gray); font-size:0.95rem; padding:0.5rem 0;
  border-bottom: 2px solid transparent; transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary); border-bottom-color: var(--primary);
}
.nav-toggle { display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:5px; }
.nav-toggle span { display:block; width:25px; height:2px; background:var(--text-white); transition:0.3s; }

/* 面包屑 */
.breadcrumb {
  padding: 90px 2rem 0.5rem;
  font-size: 0.85rem; color: var(--text-gray);
  max-width: 1200px; margin: 0 auto;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { margin: 0 0.5rem; }

/* Hero区域 */
.hero {
  padding: 120px 2rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position:relative; z-index:1; max-width:900px; margin:0 auto; }
.hero h1 {
  font-size: 2.8rem; font-weight: 800; margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, var(--primary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}
.hero h5, .hero h6 {
  font-size: 1.1rem; color: var(--text-gray); margin-bottom: 2rem;
  font-weight: 400; line-height: 1.6;
}
.hero-img {
  margin-top: 2rem; border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
}
.hero-buttons { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }
.btn {
  padding: 12px 32px; border-radius: 8px; font-size: 1rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s;
  border: none; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 20px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px var(--glow); }
.btn-outline {
  background: transparent; color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-outline:hover { background: var(--glass-bg); }

/* 优势卡片 */
.advantages {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 1200px; margin: 0 auto; padding: 2rem;
}
.adv-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 2rem;
  text-align: center; transition: all 0.3s;
}
.adv-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px var(--glow);
}
.adv-icon {
  width: 60px; height: 60px; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.adv-card h5 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.adv-card p { font-size: 0.9rem; color: var(--text-gray); }

/* 仪表盘 */
.dashboard {
  max-width: 1200px; margin: 3rem auto; padding: 0 2rem;
}
.dashboard h4 {
  text-align: center; font-size: 1.8rem; margin-bottom: 2rem;
  color: var(--text-white);
}
.dash-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.dash-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 2rem; text-align: center;
}
.dash-card .number {
  font-size: 2.2rem; font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.dash-card .label { color: var(--text-gray); font-size: 0.9rem; }

/* 资讯区域 */
.news-section {
  max-width: 1200px; margin: 3rem auto; padding: 0 2rem;
}
.news-section h4 {
  font-size: 1.8rem; margin-bottom: 2rem; text-align: center;
}
.news-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.news-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; overflow: hidden; transition: all 0.3s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.news-card img {
  width: 100%; height: 180px; object-fit: cover;
}
.news-card-body { padding: 1.5rem; }
.news-card h5 { font-size: 1rem; margin-bottom: 0.8rem; line-height: 1.4; }
.news-card p { font-size: 0.85rem; color: var(--text-gray); line-height: 1.6; }
.news-card .date { font-size: 0.8rem; color: var(--text-gray); margin-top: 0.8rem; }

/* 视频专区 */
.video-section {
  max-width: 1200px; margin: 3rem auto; padding: 0 2rem;
}
.video-section h4 {
  font-size: 1.8rem; margin-bottom: 2rem; text-align: center;
}
.video-wrapper {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--glass-border);
  max-width: 800px; margin: 0 auto;
  cursor: pointer;
}
.video-wrapper img { width: 100%; display: block; }
.play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--primary);
  transition: all 0.3s;
}
.play-btn::after {
  content: '';
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent var(--primary);
  margin-left: 5px;
}
.video-wrapper:hover .play-btn {
  background: var(--glow);
  transform: translate(-50%, -50%) scale(1.1);
}

/* 评价轮播 */
.reviews-section {
  max-width: 1200px; margin: 3rem auto; padding: 0 2rem;
}
.reviews-section h4 {
  font-size: 1.8rem; margin-bottom: 2rem; text-align: center;
}
.reviews-carousel {
  display: flex; gap: 1.5rem; overflow-x: auto;
  scroll-snap-type: x mandatory; padding-bottom: 1rem;
  -ms-overflow-style: none; scrollbar-width: none;
}
.reviews-carousel::-webkit-scrollbar { display: none; }
.review-card {
  min-width: 320px; flex-shrink: 0;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px; padding: 2rem;
  scroll-snap-align: start;
}
.review-card .stars { color: #ffd700; margin-bottom: 0.8rem; font-size: 1.1rem; }
.review-card .comment { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1rem; }
.review-card .author { font-weight: 600; color: var(--primary); }

/* 搜索框 */
.search-bar {
  max-width: 600px; margin: 2rem auto; padding: 0 2rem;
  position: relative;
}
.search-bar input {
  width: 100%; padding: 14px 50px 14px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px; color: var(--text-white);
  font-size: 1rem; outline: none;
  transition: border-color 0.3s;
}
.search-bar input:focus { border-color: var(--primary); }
.search-bar input::placeholder { color: var(--text-gray); }
.search-btn {
  position: absolute; right: 2.5rem; top: 50%;
  transform: translateY(-50%);
  background: none; border: none; color: var(--primary);
  font-size: 1.2rem; cursor: pointer;
}
.search-status {
  text-align: center; margin-top: 0.8rem;
  font-size: 0.85rem; color: var(--primary);
  min-height: 1.2em;
}

/* 页脚 */
.footer {
  margin-top: 4rem;
  background: rgba(10,14,39,0.9);
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 1.5rem;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.footer-col h6 { font-size: 1rem; margin-bottom: 1rem; color: var(--text-white); }
.footer-col p, .footer-col a {
  font-size: 0.85rem; color: var(--text-gray); line-height: 2;
  display: block;
}
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--text-gray);
  flex-wrap: wrap; gap: 1rem;
}

/* 内页文章 */
.article-container {
  max-width: 900px; margin: 0 auto; padding: 100px 2rem 3rem;
}
.article-container h2 {
  font-size: 1.8rem; margin: 2rem 0 1rem;
  color: var(--text-white);
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
}
.article-container h3 {
  font-size: 1.3rem; margin: 1.5rem 0 0.8rem;
  color: var(--primary);
}
.article-container p {
  font-size: 1rem; line-height: 1.8; color: var(--text-gray);
  margin-bottom: 1rem;
}
.article-container ul, .article-container ol {
  margin: 1rem 0 1rem 2rem; color: var(--text-gray);
  line-height: 2;
}

/* 动画 */
.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1; transform: translateY(0);
}

/* 响应式 */
@media (max-width: 768px) {
  .nav-links { 
    display: none; flex-direction: column;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(10,14,39,0.95);
    padding: 1rem 2rem; gap: 0.5rem;
    backdrop-filter: blur(20px);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 1.8rem; }
  .advantages { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .dash-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.5rem; }
}
