/* TradingView 官网样式 - SEO优化 */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.6;color:#131722;background:#f8f9fa;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:#2962ff;transition:color .2s}
a:hover{color:#1a4cd6}
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}
.header .container{display:flex;align-items:center;justify-content:space-between;height:64px}
.logo{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:700;color:#131722}
.logo img{width:36px;height:36px}
.nav{display:flex;gap:28px;align-items:center}
.nav a{color:#434651;font-size:15px;font-weight:500;padding:6px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a.active{color:#2962ff;border-bottom-color:#2962ff}
.nav .btn-download{background:#2962ff;color:#fff;padding:8px 20px;border-radius:6px;font-weight:600;border:none}
.nav .btn-download:hover{background:#1a4cd6;color:#fff;border-bottom:none}

/* Hero区域 */
.hero{background:linear-gradient(135deg,#131722 0%,#1e2640 50%,#2a3a6e 100%);color:#fff;padding:80px 0 70px;text-align:center;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><line x1="0" y1="100" x2="1200" y2="100" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><line x1="0" y1="200" x2="1200" y2="200" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><line x1="0" y1="300" x2="1200" y2="300" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><line x1="0" y1="400" x2="1200" y2="400" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><line x1="0" y1="500" x2="1200" y2="500" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>')}
.hero h1{font-size:44px;font-weight:800;margin-bottom:18px;position:relative}
.hero h1 span{color:#5b9cf5}
.hero p{font-size:18px;color:#b2c0d6;max-width:680px;margin:0 auto 36px;position:relative}
.hero-btns{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;position:relative}
.hero-btns a{display:inline-block;padding:14px 36px;border-radius:8px;font-size:16px;font-weight:600;transition:all .25s}
.hero-btns .btn-primary{background:#2962ff;color:#fff}
.hero-btns .btn-primary:hover{background:#1a4cd6;color:#fff;transform:translateY(-1px);box-shadow:0 8px 24px rgba(41,98,255,.35)}
.hero-btns .btn-outline{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.4)}
.hero-btns .btn-outline:hover{border-color:#fff;background:rgba(255,255,255,.08)}

/* 板块通用样式 */
.section{padding:70px 0}
.section-title{text-align:center;margin-bottom:48px}
.section-title h2{font-size:32px;font-weight:700;margin-bottom:12px;color:#131722}
.section-title p{color:#787b86;font-size:16px;max-width:600px;margin:0 auto}
.bg-white{background:#fff}
.bg-light{background:#f0f2f5}

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

/* 6大问答板块 */
.faq-list{display:flex;flex-direction:column;gap:20px}
.faq-item{background:#fff;border:1px solid #e0e3eb;border-radius:12px;overflow:hidden}
.faq-item summary{padding:22px 28px;font-size:17px;font-weight:600;color:#131722;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;user-select:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';font-size:22px;color:#2962ff;font-weight:300;transition:transform .25s}
.faq-item[open] summary::after{content:'\2212';transform:rotate(180deg)}
.faq-item[open] summary{color:#2962ff;border-bottom:1px solid #e0e3eb}
.faq-answer{padding:24px 28px}
.faq-answer .steps{list-style:none;counter-reset:step-counter}
.faq-answer .steps li{counter-increment:step-counter;position:relative;padding:10px 0 10px 40px;color:#434651;font-size:15px;line-height:1.75}
.faq-answer .steps li::before{content:counter(step-counter);position:absolute;left:0;top:14px;width:26px;height:26px;background:#e8eeff;color:#2962ff;border-radius:50%;text-align:center;line-height:26px;font-size:13px;font-weight:700}
.faq-answer .steps li strong{color:#131722}

/* 子页面通用 */
.page-hero{background:linear-gradient(135deg,#131722,#1e2640);color:#fff;padding:60px 0;text-align:center}
.page-hero h1{font-size:36px;font-weight:800;margin-bottom:12px}
.page-hero p{color:#b2c0d6;font-size:16px}
.page-content{padding:60px 0}
.page-content h2{font-size:26px;font-weight:700;margin-bottom:20px;color:#131722}
.page-content h3{font-size:20px;font-weight:600;margin-bottom:14px;color:#131722}
.page-content p{color:#434651;margin-bottom:16px;line-height:1.8}

/* 价格卡片 */
.pricing-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.pricing-card{background:#fff;border:2px solid #e0e3eb;border-radius:14px;padding:36px 28px;text-align:center;transition:all .25s}
.pricing-card:hover{box-shadow:0 12px 36px rgba(0,0,0,.1)}
.pricing-card.featured{border-color:#2962ff;box-shadow:0 4px 24px rgba(41,98,255,.15)}
.pricing-card h4{font-size:20px;font-weight:700;margin-bottom:16px}
.pricing-card .price{font-size:40px;font-weight:800;color:#2962ff;margin-bottom:6px}
.pricing-card .price span{font-size:16px;font-weight:400;color:#787b86}
.pricing-card .desc{color:#787b86;font-size:14px;margin-bottom:24px}
.pricing-card ul{list-style:none;text-align:left;margin-bottom:28px}
.pricing-card ul li{padding:8px 0;color:#434651;font-size:14px;border-bottom:1px solid #f0f2f5}
.pricing-card ul li::before{content:'\2713';color:#2962ff;font-weight:700;margin-right:8px}
.pricing-card .btn-plan{display:block;background:#2962ff;color:#fff;padding:12px 24px;border-radius:8px;font-weight:600;font-size:15px;text-align:center}
.pricing-card .btn-plan:hover{background:#1a4cd6;color:#fff}

/* 下载页 */
.download-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.download-card{background:#fff;border:1px solid #e0e3eb;border-radius:12px;padding:30px 24px;text-align:center;transition:all .25s}
.download-card:hover{box-shadow:0 8px 28px rgba(0,0,0,.08);transform:translateY(-2px)}
.download-card .platform-icon{font-size:42px;margin-bottom:16px}
.download-card h4{font-size:18px;font-weight:600;margin-bottom:8px}
.download-card p{color:#787b86;font-size:14px;margin-bottom:18px}
.download-card .btn-dl{display:inline-block;background:#2962ff;color:#fff;padding:10px 28px;border-radius:6px;font-weight:600;font-size:14px}
.download-card .btn-dl:hover{background:#1a4cd6;color:#fff}

/* 面包屑 */
.breadcrumb{padding:14px 0;font-size:14px;color:#787b86}
.breadcrumb a{color:#787b86}
.breadcrumb a:hover{color:#2962ff}
.breadcrumb span{color:#131722}

/* 页脚 */
.footer{background:#131722;color:#b2c0d6;padding:50px 0 30px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:36px;margin-bottom:36px}
.footer-col h4{color:#fff;font-size:16px;font-weight:600;margin-bottom:16px}
.footer-col a{display:block;color:#787b86;font-size:14px;padding:4px 0;transition:color .2s}
.footer-col a:hover{color:#5b9cf5}
.footer-bottom{border-top:1px solid #2a2e3d;padding-top:24px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:13px;color:#787b86}
.footer-bottom a{color:#787b86;margin-left:16px}
.footer-bottom a:hover{color:#5b9cf5}

/* 面包屑导航 */
.breadcrumb-nav{margin-bottom:32px;padding:12px 0;font-size:14px;color:#787b86}
.breadcrumb-nav a{color:#2962ff}
.breadcrumb-nav a:hover{text-decoration:underline}

/* 响应式 */
@media(max-width:768px){
  .hero h1{font-size:30px}
  .hero p{font-size:15px}
  .nav{gap:16px}
  .nav a{font-size:13px}
  .section-title h2{font-size:24px}
  .footer-bottom{flex-direction:column;text-align:center}
  .features-grid{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr}
}

/* 面包屑导航优化 */
.crumb{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.crumb a{color:#787b86;font-size:14px}
.crumb a:hover{color:#2962ff}
.crumb .sep{color:#ccc;font-size:12px}
.crumb .current{color:#131722;font-size:14px;font-weight:500}

/* 表格样式 */
.data-table{width:100%;border-collapse:collapse;margin:24px 0}
.data-table th{background:#f0f2f5;padding:14px 16px;text-align:left;font-weight:600;color:#131722;border-bottom:2px solid #e0e3eb}
.data-table td{padding:14px 16px;border-bottom:1px solid #e0e3eb;color:#434651}
