/* 黑色简约主题 */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #222222;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-red: #ef4444;
    --accent-yellow: #f59e0b;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* 容器 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部 */
.header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* 价格横幅 */
.price-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    border: 1px solid #2a5298;
}

.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 15px;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
}

.currency {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.price-note {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* 过滤按钮 */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
}

/* 组合卡片网格 */
.combinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

/* 组合卡片 */
.combo-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.combo-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.combo-header {
    padding: 20px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.market-badge {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.market-badge.A股 {
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.market-badge.美股 {
    background: rgba(16, 185, 129, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.market-badge.港股 {
    background: rgba(239, 68, 68, 0.2);
    color: var(--accent-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.algorithm-tag {
    padding: 5px 12px;
    background: rgba(245, 158, 11, 0.2);
    color: var(--accent-yellow);
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.combo-body {
    padding: 20px;
    flex-grow: 1;
}

.combo-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.combo-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.combo-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat i {
    color: var(--accent-blue);
}

.combo-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.combo-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-display {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.price-display .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-green);
}

.price-display .currency {
    font-size: 1rem;
    color: var(--text-secondary);
}

.select-btn {
    padding: 12px 25px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-btn:hover {
    background: #2563eb;
}

/* 使用说明 */
.instructions {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid var(--border-color);
}

.instructions h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer a {
    color: var(--accent-blue);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Logo 样式 */
.logo-container {
    margin-bottom: 20px;
    text-align: center;
}

.site-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .site-logo {
        max-width: 150px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .combinations-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .price-banner {
        padding: 20px;
    }
    
    .price {
        font-size: 2.5rem;
    }
}