/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #ffffff;
}

/* 容器和布局 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1e293b;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #0066cc;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
    margin-right: 24px;
}

.nav-link {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #0066cc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* 按钮样式 */
.btn-primary {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
}

.btn-primary.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-secondary {
    background: transparent;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.btn-outline {
    background: transparent;
    color: #0066cc;
    border: 2px solid #0066cc;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-outline:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
}

.btn-outline.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* 语言切换按钮 */
.language-toggle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.language-toggle:hover {
    background: #0066cc;
    border-color: #0066cc;
    color: white;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #64748b;
    transition: all 0.3s ease;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1e293b;
}

.highlight {
    background: linear-gradient(135deg, #0066cc, #00cc66);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* 交易面板 */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading-dashboard {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    max-width: 400px;
    width: 100%;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.dashboard-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #16a34a;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.market-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.index-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.index-name {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.index-value {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.index-change {
    font-size: 12px;
    font-weight: 500;
}

.index-change.positive {
    color: #16a34a;
}

.index-change.negative {
    color: #dc2626;
}

.stock-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stock-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
}

.stock-symbol {
    font-weight: 600;
    color: #1e293b;
}

.stock-price {
    text-align: center;
    font-weight: 500;
}

.stock-change {
    text-align: right;
    font-weight: 500;
}

.stock-change.positive {
    color: #16a34a;
}

.stock-change.negative {
    color: #dc2626;
}

/* 区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* 市场行情区域 */
.markets {
    padding: 80px 0;
    background: white;
}

.market-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.tab-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.tab-btn.active,
.tab-btn:hover {
    background: #0066cc;
    border-color: #0066cc;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.indices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.index-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.index-item:hover {
    border-color: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.index-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
}

.index-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.current-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
}

.change {
    font-size: 14px;
    font-weight: 500;
}

.change.positive {
    color: #16a34a;
}

.change.negative {
    color: #dc2626;
}

.mini-chart {
    width: 120px;
    height: 60px;
}

/* 股票表格 */
.stocks-table {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.table-header,
.table-row {
    display: grid;
    grid-template-columns: 100px 1fr 100px 80px 80px 80px;
    align-items: center;
    padding: 16px 24px;
    font-size: 14px;
}

.table-header {
    background: #f8fafc;
    font-weight: 600;
    color: #64748b;
    border-bottom: 1px solid #e2e8f0;
}

.table-row {
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background: #f8fafc;
}

.table-row:last-child {
    border-bottom: none;
}

.symbol {
    font-weight: 600;
    color: #0066cc;
}

.name {
    color: #1e293b;
}

.price {
    font-weight: 600;
    text-align: right;
}

.percent {
    font-weight: 500;
    text-align: right;
}

.percent.positive {
    color: #16a34a;
}

.percent.negative {
    color: #dc2626;
}

.volume {
    text-align: right;
    color: #64748b;
}

/* 功能特色区域 */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
}

.feature-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.feature-card p {
    color: #64748b;
    line-height: 1.7;
}

/* 服务优势区域 */
.advantages {
    padding: 80px 0;
    background: white;
}

.advantages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.advantages-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 32px;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.advantage-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.advantage-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.advantage-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.advantage-content p {
    color: #64748b;
    line-height: 1.7;
}

/* 图表容器 */
.chart-container {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.chart-header h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
}

.chart-legend {
    display: flex;
    gap: 16px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.chart-bars {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.bar-group {
    flex: 1;
    text-align: center;
    position: relative;
    padding-bottom: 30px;
}

.bar-label {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
    font-weight: 500;
}

.bars {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: end;
    height: 120px;
    margin-bottom: 40px;
    padding-bottom: 30px;
}

.bar {
    width: 24px;
    border-radius: 4px 4px 0 0;
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding-bottom: 4px;
    min-height: 20px;
}

.bar::after {
    content: attr(data-value);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: #64748b;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1;
}

.bar.primary {
    background: #0066cc;
}

.bar.secondary {
    background: #94a3b8;
}

/* 新闻资讯区域 */
.news {
    padding: 80px 0;
    background: #f8fafc;
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
}

.news-card.featured {
    grid-row: span 2;
}

.news-image {
    height: 200px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.news-placeholder {
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

.news-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.news-content {
    padding: 24px;
    position: relative;
    z-index: 2;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 12px;
}

.news-category {
    background: #0066cc;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.news-date {
    color: #64748b;
}

.news-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

/* 行业深度分析区域 */
.sectors-analysis {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.sectors-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.sector-showcase {
    background: white;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.sector-showcase:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: #0066cc;
}

.sector-showcase.featured {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 2px solid #16a34a;
    transform: scale(1.02);
}

.sector-showcase.featured:hover {
    transform: translateY(-8px) scale(1.02);
}

.sector-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.sector-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.sector-performance {
    display: flex;
    align-items: center;
    gap: 12px;
}

.performance-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.performance-value {
    font-size: 18px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(22, 163, 74, 0.1);
}

.performance-value.positive {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

.performance-value.negative {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.sector-content p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 16px;
}

.sector-stocks-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.stock-mini {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    font-size: 14px;
}

.stock-mini .symbol {
    font-weight: 700;
    color: #0066cc;
    background: rgba(0, 102, 204, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
}

.stock-mini .price {
    font-weight: 600;
    color: #1e293b;
}

.stock-mini .change {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.stock-mini .change.positive {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

.stock-mini .change.negative {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.sector-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 102, 204, 0.05);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    font-size: 14px;
    color: #475569;
    font-weight: 500;
}

.highlight-icon {
    font-size: 16px;
}

/* 投资建议区域 */
.investment-advice {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.advice-header {
    text-align: center;
    margin-bottom: 40px;
}

.advice-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.advice-header p {
    color: #64748b;
    font-size: 16px;
}

.advice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.advice-card {
    text-align: center;
    padding: 32px 24px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.advice-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    background: white;
    border-color: #0066cc;
}

.advice-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.advice-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.advice-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
}

.footer-disclaimer {
    margin-bottom: 16px;
}

.footer-disclaimer p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: #64748b;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .advantages-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .indices-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn-large {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .market-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 80px 1fr 80px 60px;
        font-size: 12px;
        padding: 12px 16px;
    }
    
    .table-header span:nth-child(5),
    .table-header span:nth-child(6),
    .table-row span:nth-child(5),
    .table-row span:nth-child(6) {
        display: none;
    }
    
    .chart-bars {
        flex-direction: column;
        gap: 16px;
    }
    
    .bars {
        height: 80px;
        flex-direction: row;
        margin-bottom: 50px;
        padding-bottom: 35px;
        gap: 12px;
    }
    
    .bar-group {
        padding-bottom: 35px;
    }
    
    .bar::after {
        bottom: -35px;
        font-size: 8px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .trading-dashboard {
        margin: 0 16px;
        max-width: none;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .index-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .advantages-text h2 {
        font-size: 28px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 加载状态 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 工具提示 */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #1e293b;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* 选择高亮颜色 */
::selection {
    background: rgba(0, 102, 204, 0.2);
}

::-moz-selection {
    background: rgba(0, 102, 204, 0.2);
}

/* 图片适配样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 新闻图片适配 */
.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

/* 通用图片容器 */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* 响应式图片 */
@media (max-width: 768px) {
    .news-image img {
        height: 150px;
    }
    
    .image-container img {
        height: auto;
        min-height: 120px;
    }
}

/* 弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.hide {
    animation: fadeOut 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
    position: relative;
}

.modal.hide .modal-content {
    animation: slideOut 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    transition: color 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    color: #dc2626;
    background: #fef2f2;
}

.modal-body {
    padding: 24px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.contact-info {
    flex: 1;
}

.contact-info h4 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.contact-info > p {
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.whatsapp-numbers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.whatsapp-number {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.whatsapp-number:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-number:hover .number-label {
    color: white;
}

.whatsapp-number:hover .whatsapp-link {
    color: white;
}

.number-label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    min-width: 80px;
    transition: color 0.3s ease;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    text-decoration: underline;
}

.service-hours {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 16px;
}

.service-hours p {
    margin: 0 0 8px 0;
    color: #166534;
    font-size: 14px;
    line-height: 1.5;
}

.service-hours p:last-child {
    margin-bottom: 0;
    font-weight: 500;
}

/* 弹窗动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
}

/* 响应式弹窗 */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        width: calc(100% - 40px);
        max-height: calc(100vh - 40px);
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .whatsapp-number {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .number-label {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 20px 20px 12px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 20px;
    }
    
    .contact-info h4 {
        font-size: 18px;
    }
}

/* 演示功能样式 */
.demo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.demo-overlay.show {
    opacity: 1;
    visibility: visible;
}

.demo-container {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
}

.demo-overlay.show .demo-container {
    transform: scale(1) translateY(0);
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.demo-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.demo-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.demo-close:hover {
    color: #dc2626;
    background: #fef2f2;
    transform: scale(1.1);
}

.demo-content {
    padding: 32px;
    height: 500px;
    overflow: hidden;
    position: relative;
}

.demo-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s ease;
    height: 100%;
}

.demo-step.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    opacity: 1;
    transform: translateX(0);
}

.demo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 模拟仪表板样式 */
.mock-dashboard {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.mock-header {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-logo {
    font-size: 18px;
    font-weight: 700;
}

.mock-nav {
    display: flex;
    gap: 16px;
    font-size: 14px;
}

.mock-nav span {
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.3s ease;
}

.mock-nav span:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mock-content {
    padding: 20px;
}

.mock-chart {
    margin-bottom: 20px;
}

.chart-title {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
}

.demo-chart,
.demo-analysis-chart {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
}

.mock-data {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.data-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 14px;
}

.data-item .symbol {
    font-weight: 600;
    color: #0066cc;
}

.data-item .price {
    font-weight: 500;
    text-align: center;
}

.data-item .change {
    font-weight: 500;
    font-size: 12px;
}

.data-item .change.positive {
    color: #16a34a;
}

/* 模拟交易表单 */
.mock-trading {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.trading-form h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 20px 0;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.mock-buy-btn {
    width: 100%;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mock-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.3);
}

/* 模拟分析工具 */
.mock-analysis {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
    max-width: 320px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.analysis-tools h5 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
    text-align: center;
}

.indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.indicator {
    background: #f0f9ff;
    color: #0066cc;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.analysis-chart {
    text-align: center;
}

/* 演示文本区域 */
.demo-text {
    padding: 20px 0;
}

.demo-text h4 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
}

.demo-text p {
    color: #64748b;
    line-height: 1.7;
    font-size: 16px;
    margin: 0;
}

/* 演示控制区域 */
.demo-controls {
    padding: 24px 32px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.demo-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-right: 16px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #0066cc, #004499);
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 33.33%;
}

.step-indicator {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    min-width: 50px;
    text-align: right;
}

.demo-buttons {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.demo-prev,
.demo-next {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.demo-prev {
    background: #f1f5f9;
    color: #64748b;
}

.demo-prev:hover:not(:disabled) {
    background: #e2e8f0;
    color: #1e293b;
}

.demo-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.demo-next {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
}

.demo-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

/* 响应式演示样式 */
@media (max-width: 768px) {
    .demo-container {
        width: 95%;
        height: 95vh;
        margin: 2.5vh auto;
    }
    
    .demo-header {
        padding: 20px 24px;
    }
    
    .demo-header h3 {
        font-size: 20px;
    }
    
    .demo-content {
        padding: 24px;
        height: auto;
        min-height: 400px;
    }
    
    .demo-step.active {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .demo-visual {
        height: 300px;
    }
    
    .mock-dashboard,
    .mock-trading,
    .mock-analysis {
        max-width: 100%;
    }
    
    .demo-controls {
        padding: 20px 24px;
    }
    
    .demo-buttons {
        flex-direction: column;
    }
    
    .demo-prev,
    .demo-next {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .demo-container {
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .demo-header {
        padding: 16px 20px;
    }
    
    .demo-header h3 {
        font-size: 18px;
    }
    
    .demo-content {
        padding: 20px;
        height: auto;
        min-height: 350px;
    }
    
    .demo-visual {
        height: 250px;
        padding: 16px;
    }
    
    .demo-text h4 {
        font-size: 20px;
    }
    
    .demo-text p {
        font-size: 14px;
    }
    
    .mock-nav {
        display: none;
    }
    
    .mock-content {
        padding: 16px;
    }
}

/* 行业板块标签页样式 */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.sector-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
}

.sector-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
}

.sector-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.sector-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.sector-performance {
    font-size: 16px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
}

.sector-performance.up {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
}

.sector-performance.down {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
}

.sector-description {
    margin-bottom: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.sector-description p {
    color: #64748b;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.sector-stocks {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sector-stock-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 14px;
}

.sector-stock-item .stock-symbol {
    font-weight: 600;
    color: #0066cc;
}

.sector-stock-item .stock-price {
    text-align: center;
    font-weight: 500;
}

.sector-stock-item .stock-change {
    text-align: right;
    font-weight: 500;
}

.sector-stock-item .stock-change.positive {
    color: #16a34a;
}

.sector-stock-item .stock-change.negative {
    color: #dc2626;
}

/* 响应式行业板块样式 */
@media (max-width: 768px) {
    .sectors-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sector-card {
        padding: 20px;
    }
    
    .sector-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .sector-stock-item {
        grid-template-columns: 80px 1fr auto;
        padding: 10px;
    }
}
