/* 股票配资官网 - site12 全局样式 */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 10%, #22195e 0%, transparent 60%),
              radial-gradient(1000px 700px at 80% 60%, rgba(76,201,240,.12) 0%, transparent 55%),
              linear-gradient(135deg, #0a1530 0%, #22195e 100%);
  color: #e6edf7;
  min-height: 100vh;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: #cfe5ff; text-decoration: none; transition: color .2s; }
a:hover { color: #ff6b9d; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* 顶部导航 */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,39,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1280px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #ff6b9d, #8a5cff);
  display: grid; place-items: center; color: #fff; font-size: 16px;
  box-shadow: 0 6px 18px rgba(76,201,240,.35);
}
.brand .brand-sub { font-size: 12px; color: #a9b8d6; font-weight: 400; display:block; }
.nav ul { list-style: none; display: flex; gap: 22px; }
.nav ul a { color: #dbe6fb; font-size: 14px; }
.nav ul a:hover { color: #ff6b9d; }
.nav .cta { background: linear-gradient(135deg, #ff6b9d, #7aa7ff); color: #061020; padding: 8px 16px; border-radius: 10px; font-weight: 700; }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* 面包屑 */
.crumb { padding: 18px 0; font-size: 13px; color: #b5c4e2; }
.crumb a { color: #dbe6fb; }
.crumb span { color: #ff6b9d; }

/* 搜索框 */
.searchbar { display:flex; align-items:center; gap:10px;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  border-radius: 14px; padding: 10px 14px; margin: 14px 0 8px;
}
.searchbar input { flex:1; background:transparent; border:0; outline:0; color:#fff; font-size:14px;}
.searchbar button { background: #ff6b9d; border:0; color:#061020; padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 700; }
.search-status { font-size: 12px; color: #9cf; padding: 4px 2px; min-height: 18px; }

/* Hero */
.hero { padding: 70px 0 40px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: 40px; line-height: 1.25; font-weight: 800;
  background: linear-gradient(135deg, #fff, #ff6b9d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 16px;
}
.hero p.sub { color: #b9c7e6; font-size: 16px; margin-bottom: 22px; }
.hero ul.bullets { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin-bottom: 24px; }
.hero ul.bullets li { position: relative; padding-left: 22px; font-size: 14px; color: #d0ddf7; }
.hero ul.bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border-radius: 50%;
  background: #ff6b9d; box-shadow: 0 0 10px #ff6b9d;
}
.hero .cta-group { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { padding: 12px 22px; border-radius: 12px; font-weight: 700; display: inline-block; }
.btn-primary { background: linear-gradient(135deg, #ff6b9d, #7aa7ff); color: #071226; }
.btn-ghost { border: 1px solid rgba(255,255,255,.2); color: #eaf1ff; }

.hero-visual {
  position: relative; border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
  aspect-ratio: 16/10;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-visual::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, rgba(10,14,39,.8)); }

/* 走马灯 */
.ticker {
  overflow: hidden; white-space: nowrap; padding: 10px 0;
  background: rgba(255,255,255,.04);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin: 24px 0 40px;
}
.ticker-track { display: inline-flex; gap: 44px; animation: tkr 36s linear infinite; }
.ticker-item { font-size: 13px; color: #dbe6fb; }
.up { color: #57e389; }
.down { color: #ff7eb9; }
@keyframes tkr { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* 数字卡片 */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin: 26px 0 50px; }
.stat-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 22px; text-align: center;
  backdrop-filter: blur(10px);
}
.stat-card .num { font-size: 30px; font-weight: 800; color: #ff6b9d; font-family: "SFMono-Regular", Menlo, monospace; }
.stat-card .label { font-size: 13px; color: #a9b8d6; margin-top: 6px; }
.stat-card .suffix { font-size: 16px; color: #cfe5ff; margin-left: 2px; }

/* Section Title */
.section { padding: 56px 0; }
.sec-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 10px; }
.sec-title h4, .sec-title h5, .sec-title h6 { font-size: 24px; font-weight: 800; letter-spacing: .5px; }
.sec-title small { color: #a9b8d6; font-size: 13px; }

/* 新闻卡片 */
.news-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.news-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 20px; transition: transform .25s, border-color .25s;
}
.news-card:hover { transform: translateY(-4px); border-color: #ff6b9d; }
.news-card .tag { display: inline-block; font-size: 12px; padding: 4px 10px; border-radius: 20px; background: rgba(76,201,240,.14); color: #ff6b9d; margin-bottom: 10px; }
.news-card h6 { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 8px; color: #eaf1ff; }
.news-card p { font-size: 13px; color: #b9c7e6; }
.news-card .time { font-size: 12px; color: #8596b9; margin-top: 12px; }

/* 视频 */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.video-card {
  position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/9;
  background: #000; cursor: pointer; border: 1px solid rgba(255,255,255,.08);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-card .play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.35));
}
.video-card .play div {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: #0a0e27; display: grid; place-items: center; font-size: 24px;
}
.video-card .caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff; }
.video-card .caption h6 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.video-card .caption p { font-size: 12px; opacity: .85; }
.video-card .dur { position: absolute; right: 10px; top: 10px; background: rgba(0,0,0,.55); font-size: 12px; padding: 3px 8px; border-radius: 6px; color: #fff; }

/* 评价轮播 */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.t-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px; padding: 24px;
}
.t-card .q { font-size: 14px; color: #d5e1f7; line-height: 1.8; margin-bottom: 14px; }
.t-card .who { display: flex; align-items: center; gap: 12px; }
.t-card .who .avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #ff6b9d, #8a5cff); color: #071226;
  display: grid; place-items: center; font-weight: 800;
}
.t-card .who div h6 { font-size: 14px; }
.t-card .who div small { color: #9bacd1; font-size: 12px; }

/* 内页文章 */
.article {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px; padding: 36px;
}
.article h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; color: #fff; }
.article h3 { font-size: 18px; font-weight: 700; margin: 20px 0 10px; color: #ff6b9d; }
.article p { font-size: 15px; color: #d5e1f7; margin-bottom: 16px; }
.article .cover { border-radius: 14px; overflow: hidden; margin-bottom: 22px; aspect-ratio: 16/7; }
.article .cover img { width: 100%; height: 100%; object-fit: cover; }
.article .meta { font-size: 12px; color: #9bacd1; margin-bottom: 20px; display: flex; gap: 16px; flex-wrap: wrap; }

/* 相关文章 */
.related { margin-top: 30px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.related a {
  display: block; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; padding: 16px; color: #dbe6fb; font-size: 14px; font-weight: 600;
  transition: border-color .25s;
}
.related a:hover { border-color: #ff6b9d; }

/* 页脚 */
.footer {
  margin-top: 60px; padding: 40px 0 24px;
  background: rgba(10,12,30,.6); border-top: 1px solid rgba(255,255,255,.08);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.footer h6 { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.footer p, .footer li { font-size: 13px; color: #a9b8d6; line-height: 2; list-style: none; }
.footer a { color: #cfe5ff; }
.footer .copy { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: 12px; color: #8596b9; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

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

/* 响应式 */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav ul { display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: rgba(10,14,39,.95); padding: 12px 20px; }
  .nav ul.open { display: flex; }
  .nav ul li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .burger { display: inline-block; }
  .nav .cta { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 20px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .article { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
