/* index.css - 首页特定样式 */

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.auth-buttons {
    display: flex;
    gap: 12px;
}

/* 英雄区域 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #fff8f5 0%, #fff 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    flex: 1;
}

.chart-container {
    width: 100%;
    height: 400px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

/* 功能特点 */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
}

/* 策略部分 */
.strategies {
    background-color: var(--bg-color);
}

.strategies-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.strategy-visual {
    flex: 1;
}

.radar-chart-container {
    width: 100%;
    height: 400px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
}

.strategy-text {
    flex: 1;
}

.strategy-tabs {
    display: flex;
    margin-bottom: 24px;
}

.tab {
    padding: 12px 20px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.tab:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.tab.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.tab-pane p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.strategy-list {
    list-style: none;
}

.strategy-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.strategy-list li:last-child {
    border-bottom: none;
}

/* 仪表盘部分 */
.dashboard {
    background-color: white;
}

.dashboard-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.dashboard-visual {
    flex: 1;
}

.kline-container {
    width: 100%;
    height: 450px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.dashboard-text {
    flex: 1;
}

.dashboard-text h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.dashboard-text p {
    margin-bottom: 24px;
    color: var(--text-light);
}

.dashboard-features {
    margin-bottom: 24px;
    list-style: none;
}

.dashboard-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.check-icon {
    margin-right: 10px;
    color: var(--primary-color);
    font-weight: bold;
}

/* 用户反馈 */
.testimonials {
    background-color: var(--bg-color);
}

.testimonials-slider {
    display: flex;
    gap: 24px;
}

.testimonial-card {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.author-info h4 {
    margin-bottom: 4px;
    color: var(--secondary-color);
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* 行动召唤 */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background-color: var(--secondary-color);
    color: #ecf0f1;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo h2 {
    margin-bottom: 16px;
    font-size: 24px;
}

.footer-logo p {
    color: #bdc3c7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: white;
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column li {
    margin-bottom: 10px;
}

.footer-links-column a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    font-size: 14px;
    color: #95a5a6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .strategies-content,
    .dashboard-content,
    .hero-content {
        flex-direction: column;
    }
    
    .testimonials-slider {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    
    .main-nav ul {
        gap: 16px;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-text h2 {
        font-size: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}