/* TradingView 官方网站样式表 - SEO优化 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;color:#131722;background:#f8f9fa;line-height:1.7}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* 顶部导航 */
.header{background:#fff;border-bottom:1px solid #e0e3eb;position:sticky;top:0;z-index:100;box-shadow:0 1px 4px rgba(0,0,0,.05)}
.header .container{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;font-size:22px;font-weight:700;color:#2962ff}
.logo img{width:36px;height:36px;margin-right:10px}
.nav{display:flex;gap:32px}
.nav a{font-size:15px;color:#434651;font-weight:500;padding:8px 0;border-bottom:2px solid transparent;transition:all .2s}
.nav a:hover,.nav a.active{color:#2962ff;border-bottom-color:#2962ff}
.btn-download{background:#2962ff;color:#fff!important;padding:10px 24px!important;border-radius:6px;font-weight:600;border:none!important;transition:background .2s}
.btn-download:hover{background:#1e4bd8}

/* Hero区域 */
.hero{background:linear-gradient(135deg,#131722 0%,#1e2840 50%,#1a2332 100%);color:#fff;padding:80px 0 100px;text-align:center}
.hero h1{font-size:48px;font-weight:800;margin-bottom:20px;line-height:1.2}
.hero h1 span{color:#2962ff}
.hero p{font-size:18px;color:#b2b9cc;max-width:700px;margin:0 auto 36px;line-height:1.8}
.hero .btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.hero .btn-primary{background:#2962ff;color:#fff;padding:14px 36px;border-radius:8px;font-size:16px;font-weight:600;transition:background .2s}
.hero .btn-primary:hover{background:#1e4bd8}
.hero .btn-outline{border:2px solid #434651;color:#d1d4dc;padding:14px 36px;border-radius:8px;font-size:16px;font-weight:600;transition:all .2s}
.hero .btn-outline:hover{border-color:#2962ff;color:#2962ff}

/* 通用section */
.section{padding:80px 0}
.section-title{text-align:center;margin-bottom:56px}
.section-title h2{font-size:34px;font-weight:700;margin-bottom:12px;color:#131722}
.section-title p{font-size:16px;color:#787b86;max-width:600px;margin:0 auto}

/* 特性卡片 */
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:28px}
.feature-card{background:#fff;border-radius:12px;padding:36px 28px;border:1px solid #e0e3eb;transition:box-shadow .2s,transform .2s}
.feature-card:hover{box-shadow:0 8px 30px rgba(0,0,0,.08);transform:translateY(-4px)}
.feature-card .icon{width:56px;height:56px;background:#e8f0fe;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;font-size:28px}
.feature-card h3{font-size:20px;font-weight:700;margin-bottom:12px;color:#131722}
.feature-card p{color:#787b86;font-size:14px;line-height:1.8}

/* 6大类别问答 */
.faq-categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:28px}
.faq-cat{background:#fff;border-radius:12px;padding:32px 28px;border:1px solid #e0e3eb}
.faq-cat h3{font-size:20px;font-weight:700;margin-bottom:20px;color:#2962ff;padding-bottom:12px;border-bottom:2px solid #e8f0fe}
.faq-item{margin-bottom:20px;padding-bottom:20px;border-bottom:1px solid #f0f3f8}
.faq-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}
.faq-q{font-size:15px;font-weight:600;color:#131722;margin-bottom:8px}
.faq-a{font-size:14px;color:#787b86;line-height:1.8}

/* 下载区域 */
.download-section{background:linear-gradient(135deg,#131722 0%,#1e2840 100%);color:#fff;text-align:center;padding:80px 0}
.download-section h2{font-size:34px;font-weight:700;margin-bottom:16px}
.download-section p{color:#b2b9cc;font-size:16px;margin-bottom:32px}
.download-platforms{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}
.download-card{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:36px 40px;text-align:center;transition:all .2s;min-width:200px}
.download-card:hover{background:rgba(255,255,255,.1);border-color:#2962ff}
.download-card .platform-icon{font-size:40px;margin-bottom:16px}
.download-card h4{font-size:18px;font-weight:700;margin-bottom:8px}
.download-card p{font-size:13px;color:#787b86;margin-bottom:20px}
.download-card a{display:inline-block;background:#2962ff;color:#fff;padding:10px 28px;border-radius:6px;font-weight:600;font-size:14px;transition:background .2s}
.download-card a:hover{background:#1e4bd8}

/* 统计 */
.stats{background:#fff;border-top:1px solid #e0e3eb;border-bottom:1px solid #e0e3eb}
.stats-grid{display:flex;justify-content:space-around;flex-wrap:wrap;padding:50px 0;text-align:center}
.stat-item h3{font-size:36px;font-weight:800;color:#2962ff}
.stat-item p{font-size:14px;color:#787b86;margin-top:8px}

/* 页脚 */
.footer{background:#131722;color:#787b86;padding:60px 0 30px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px;margin-bottom:40px}
.footer-col h4{color:#d1d4dc;font-size:16px;font-weight:600;margin-bottom:20px}
.footer-col a{display:block;color:#787b86;font-size:14px;margin-bottom:12px;transition:color .2s}
.footer-col a:hover{color:#2962ff}
.footer-bottom{border-top:1px solid #2a2e39;padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;font-size:13px}
.footer-bottom a{color:#787b86;margin-left:16px}
.footer-bottom a:hover{color:#2962ff}

/* 页面Banner */
.page-banner{background:linear-gradient(135deg,#131722 0%,#1e2840 100%);color:#fff;padding:60px 0;text-align:center}
.page-banner h1{font-size:38px;font-weight:800;margin-bottom:12px}
.page-banner p{color:#b2b9cc;font-size:16px}
.breadcrumb{display:flex;gap:8px;justify-content:center;margin-top:16px;font-size:14px;color:#787b86}
.breadcrumb a{color:#2962ff}

/* 功能详情页 */
.feature-detail{background:#fff;border-radius:12px;padding:40px;border:1px solid #e0e3eb;margin-bottom:24px}
.feature-detail h3{font-size:22px;font-weight:700;margin-bottom:16px;color:#131722}
.feature-detail p{color:#787b86;font-size:15px;line-height:1.9;margin-bottom:16px}
.feature-detail ul{margin-left:20px;color:#787b86;font-size:14px;line-height:2}
.feature-detail ul li{margin-bottom:6px}

/* Sitemap */
.sitemap-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:28px}
.sitemap-group{background:#fff;border-radius:12px;padding:28px;border:1px solid #e0e3eb}
.sitemap-group h3{font-size:18px;font-weight:700;color:#2962ff;margin-bottom:16px;padding-bottom:10px;border-bottom:2px solid #e8f0fe}
.sitemap-group a{display:block;color:#434651;font-size:14px;padding:8px 0;border-bottom:1px solid #f0f3f8;transition:color .2s}
.sitemap-group a:hover{color:#2962ff}
.sitemap-group a:last-child{border-bottom:none}

/* 关于页 */
.about-content{background:#fff;border-radius:12px;padding:40px;border:1px solid #e0e3eb}
.about-content h3{font-size:22px;font-weight:700;margin:28px 0 16px;color:#131722}
.about-content h3:first-child{margin-top:0}
.about-content p{color:#787b86;font-size:15px;line-height:1.9;margin-bottom:16px}

/* 响应式 */
@media (max-width:768px){
  .hero h1{font-size:30px}
  .section-title h2{font-size:26px}
  .features-grid,.faq-categories,.footer-grid{grid-template-columns:1fr}
  .nav{gap:16px}
  .stats-grid{gap:24px}
  .stat-item h3{font-size:26px}
}
