/* ============================================
   SequenceQuant 子页面专用样式
   ============================================ */

/* Page Hero Banner */
.page-hero {
    position: relative; z-index: 1; padding: 160px 0 80px;
    text-align: center; border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 900; margin-bottom: 20px; }
.page-hero .page-hero-desc { font-size: 18px; color: var(--text-secondary); max-width: 680px; margin: 0 auto; line-height: 1.8; }

/* Breadcrumb */
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 24px; font-size: 13px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-secondary); }
.breadcrumb .sep { color: var(--text-muted); }

/* Timeline */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.timeline-item { position: relative; margin-bottom: 48px; display: flex; align-items: flex-start; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-content { width: 45%; padding: 28px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: all 0.4s; }
.timeline-content:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--gradient); border: 3px solid var(--bg-primary); z-index: 2; }
.timeline-year { font-size: 14px; font-weight: 700; color: var(--accent); font-family: var(--mono); margin-bottom: 8px; }
.timeline-content h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Value Cards */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 24px; text-align: center; transition: all 0.4s; }
.value-card:hover { border-color: var(--border-hover); transform: translateY(-4px); background: var(--bg-card-hover); }
.value-icon { font-size: 48px; margin-bottom: 16px; }
.value-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Strategy Detail */
.strategy-detail { margin-bottom: 48px; }
.strategy-detail-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; transition: all 0.4s; }
.strategy-detail-card:hover { border-color: var(--border-hover); }
.strategy-detail-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.strategy-detail-icon { font-size: 48px; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.15); border-radius: var(--radius-sm); flex-shrink: 0; }
.strategy-detail-header h2 { font-size: 24px; font-weight: 800; color: #fff; }
.strategy-detail-header .strategy-tag { margin-bottom: 0; }
.strategy-body { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.strategy-body p { font-size: 15px; color: var(--text-secondary); line-height: 1.9; margin-bottom: 16px; }
.strategy-params { background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 28px; }
.strategy-params h4 { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 16px; font-family: var(--mono); letter-spacing: 1px; }
.param-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.param-row:last-child { border-bottom: none; }
.param-label { color: var(--text-secondary); }
.param-value { color: #fff; font-weight: 600; font-family: var(--mono); }

/* Monthly Returns Table */
.returns-table-wrap { overflow-x: auto; margin: 32px 0; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.returns-table { width: 100%; border-collapse: collapse; font-size: 13px; font-family: var(--mono); }
.returns-table th, .returns-table td { padding: 12px 16px; text-align: center; border: 1px solid var(--border); }
.returns-table th { background: rgba(0,212,255,0.06); color: var(--accent); font-weight: 700; font-size: 12px; letter-spacing: 1px; position: -webkit-sticky; position: sticky; top: 0; }
.returns-table td { color: var(--text-secondary); }
.returns-table td.positive { color: var(--accent3); font-weight: 600; }
.returns-table td.negative { color: #ff6b6b; font-weight: 600; }
.returns-table td.year-label { color: #fff; font-weight: 700; background: rgba(255,255,255,0.03); text-align: left; }
.returns-table td.annual { color: var(--accent); font-weight: 700; }

/* Risk metrics */
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.risk-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 32px 24px; text-align: center; }
.risk-value { font-size: 36px; font-weight: 800; font-family: var(--mono); margin-bottom: 8px; }
.risk-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.risk-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; }
.risk-bar-fill { height: 100%; background: var(--gradient); border-radius: 2px; transition: width 1.5s ease; }

/* Tech detail sections */
.tech-detail-section { margin-bottom: 64px; }
.tech-detail-section h2 { font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.tech-detail-section > p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }
.tech-stack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-stack-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 28px; transition: border-color 0.4s, transform 0.4s, background 0.4s; }
.tech-stack-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.tech-stack-card h4 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tech-stack-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }
.tech-stack-card .tech-badge { display: inline-block; padding: 3px 10px; background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.15); border-radius: 12px; font-size: 11px; color: var(--accent); font-family: var(--mono); margin-top: 12px; margin-right: 4px; }

/* Team detail */
.team-detail-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; margin-bottom: 32px; transition: all 0.4s; }
.team-detail-card:hover { border-color: var(--border-hover); }
.team-detail-avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; color: #fff; flex-shrink: 0; }
.team-detail-info h3 { font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.team-detail-info .team-role { font-size: 15px; margin-bottom: 16px; }
.team-detail-info p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }
.team-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.team-detail-tags span { padding: 4px 14px; background: rgba(0,212,255,0.06); border: 1px solid rgba(0,212,255,0.12); border-radius: 20px; font-size: 12px; color: var(--accent); font-family: var(--mono); }

/* Careers */
.careers-section { margin-top: 80px; }
.job-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 28px 32px; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; transition: all 0.4s; }
.job-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.job-info h4 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.job-info p { font-size: 13px; color: var(--text-secondary); }
.job-tags { display: flex; gap: 8px; }
.job-tags span { padding: 4px 12px; background: rgba(123,97,255,0.08); border: 1px solid rgba(123,97,255,0.2); border-radius: 16px; font-size: 11px; color: var(--accent2); }
.btn-apply { padding: 10px 24px; background: var(--gradient); color: #fff; border: none; border-radius: 24px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.3s; white-space: nowrap; }
.btn-apply:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,212,255,0.3); }

/* Contact full page */
.contact-full-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; }
.map-placeholder { width: 100%; height: 280px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; margin-bottom: 24px; overflow: hidden; }
.office-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.office-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 24px; transition: all 0.3s; }
.office-card:hover { border-color: var(--border-hover); }
.office-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.office-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* FAQ */
.faq-section { margin-top: 80px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 20px 28px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; color: #fff; transition: all 0.3s; }
.faq-question:hover { color: var(--accent); }
.faq-arrow { font-size: 18px; color: var(--text-muted); transition: transform 0.3s; }
.faq-item.active .faq-arrow { transform: rotate(180deg); color: var(--accent); }
.faq-answer { padding: 0 28px; max-height: 0; overflow: hidden; transition: all 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 20px; }
.faq-answer p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* Insights/Research */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all 0.4s; }
.insight-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.insight-cover { height: 200px; background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(123,97,255,0.1)); display: flex; align-items: center; justify-content: center; font-size: 56px; }
.insight-body { padding: 28px; }
.insight-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 12px; color: var(--text-muted); font-family: var(--mono); }
.insight-body h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.4; }
.insight-body h3 a { color: inherit; text-decoration: none; transition: color 0.3s; }
.insight-body h3 a:hover { color: var(--accent); }
.insight-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.insight-tags { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.insight-tag { padding: 3px 10px; background: rgba(0,212,255,0.06); border-radius: 12px; font-size: 11px; color: var(--accent); font-family: var(--mono); }

/* CTA Section */
.cta-section { text-align: center; padding: 80px 0; }
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Back to top */
.back-to-nav { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.3s; margin-top: 16px; }
.back-to-nav:hover { color: var(--accent); }

/* Responsive for sub-pages */
@media (max-width: 1024px) { .values-grid, .tech-stack-grid, .risk-grid, .insights-grid { grid-template-columns: repeat(2, 1fr); } .strategy-body { grid-template-columns: 1fr; } .team-detail-card { grid-template-columns: 1fr; text-align: center; } .team-detail-avatar { margin: 0 auto; } }
@media (max-width: 768px) { .timeline::before { left: 20px; } .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; text-align: left; padding-left: 50px; } .timeline-content { width: 100%; } .timeline-dot { left: 20px; } .values-grid, .tech-stack-grid, .risk-grid, .insights-grid { grid-template-columns: 1fr; } .contact-full-grid { grid-template-columns: 1fr; } .office-cards { grid-template-columns: 1fr; } .job-card { flex-direction: column; align-items: flex-start; gap: 16px; } .page-hero { padding: 120px 0 60px; } .strategy-detail-card { padding: 28px; } .strategy-detail-header { flex-direction: column; } }

