﻿
/* 全局变量 */
:root {
    --bg-dark: #0d1117;
    --card-bg: #161b22;
    --accent-blue: #58a6ff;
    --accent-purple: #bc8cff;
    --text-main: #c9d1d9;
    --text-dim: #8b949e;
}

body { background: var(--bg-dark) !important; color: var(--text-main) !important; }

/* ArayaQuant 代码 Logo */
.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    text-decoration: none;
}

/* 隐藏旧版元素 */
#contact_part, .logo img, .footer_logo img, .slider_main { display: none !important; }

/* 研报展示紧凑化 */
#faqs_part { padding: 40px 0 !important; background: var(--bg-dark) !important; }
.faqbox.longer {
    width: 100% !important;
    margin: 5px 0 !important;
    background: var(--card-bg) !important;
    border: 1px solid #30363d !important;
    border-radius: 6px !important;
    padding: 0 !important;
}
.faqbox.longer img { display: none !important; } /* 砍掉图片 */
.faqbox.longer a > div { padding: 12px 20px !important; }
.faqbox.longer strong { color: var(--accent-blue) !important; font-size: 16px !important; }
.faqbox.longer .muted { color: var(--text-dim) !important; font-size: 12px !important; }

/* 导航美化 */
.header { background: rgba(13, 17, 23, 0.8) !important; backdrop-filter: blur(10px); border-bottom: 1px solid #30363d !important; }


/* 横向滑动容器 */
.topic-scroller {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
    gap: 15px;
    scrollbar-width: none; /* 隐藏滚动条 */
}
.topic-scroller::-webkit-scrollbar { display: none; }

.topic-card {
    flex: 0 0 280px;
    height: 120px;
    background: linear-gradient(135deg, rgba(31, 111, 235, 0.2) 0%, rgba(188, 140, 255, 0.1) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(88, 166, 255, 0.3);
    border-radius: 12px;
    padding: 15px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.topic-card:hover {
    border-color: #58a6ff;
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.4);
    transform: translateY(-3px);
}

.topic-card .t-tag {
    font-size: 10px;
    background: #58a6ff;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    width: fit-content;
}

.topic-card .t-title {
    color: #e6edf3;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Hero Section */
.hero-quant {
    background: radial-gradient(circle at top left, #161b22 0%, #0d1117 100%) !important;
    padding: 100px 0 60px !important;
    text-align: center !important;
    border-bottom: 1px solid #30363d !important;
}

.hero-quant h1 {
    font-size: 56px !important;
    font-weight: 800 !important;
    color: #f0f6fc !important;
    letter-spacing: -2px !important;
    margin-bottom: 15px !important;
    background: linear-gradient(135deg, #fff 0%, #58a6ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.hero-quant p {
    font-size: 20px !important;
    color: #8b949e !important;
    max-width: 700px !important;
    margin: 0 auto 30px !important;
}

.cta-group {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
}

.cta-primary {
    background: #1f6feb !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    box-shadow: 0 0 15px rgba(31,111,235,0.4) !important;
    transition: all 0.3s ease !important;
}

.cta-primary:hover { transform: scale(1.05) !important; box-shadow: 0 0 25px rgba(31,111,235,0.6) !important; }

.cta-secondary {
    background: #21262d !important;
    color: #c9d1d9 !important;
    padding: 12px 28px !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 1px solid #30363d !important;
    transition: all 0.3s ease !important;
}
.cta-secondary:hover { background: #30363d !important; }

