/* ============================================================
   行业研究页面 — 重新设计
   ============================================================ */

/* ---- Hero with image carousel ---- */
.research-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    will-change: opacity;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(14,42,92,0.78) 50%, rgba(22,93,255,0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 140px 20px 80px;
    max-width: 700px;
}

.hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 6px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.hero-desc {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
}

/* ---- Featured Article ---- */
.featured-section {
    padding: 72px 0 48px;
    background: #f7f8fa;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8eaed;
    cursor: pointer;
    transition: box-shadow 0.4s, transform 0.4s;
    min-height: 340px;
}

.featured-card:hover {
    box-shadow: 0 20px 60px rgba(22, 93, 255, 0.1);
    transform: translateY(-3px);
}

.featured-image {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 340px;
}

.featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.4) 0%, transparent 60%);
}

.featured-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 1;
    padding: 4px 14px;
    background: #165DFF;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 3px;
    text-transform: uppercase;
}

.featured-body {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-domain {
    font-size: 0.72rem;
    font-weight: 600;
    color: #165DFF;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.featured-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1D2129;
    line-height: 1.5;
    margin-bottom: 12px;
}

.featured-subtitle {
    font-size: 0.95rem;
    color: #86909C;
    line-height: 1.8;
    margin-bottom: 24px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: #C9CDD4;
}

.featured-arrow {
    margin-left: auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e8eaed;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #86909C;
}

.featured-card:hover .featured-arrow {
    background: #165DFF;
    color: #fff;
    border-color: #165DFF;
}

/* ---- Filters ---- */
.research-filters {
    padding: 24px 0;
    background: #fff;
    position: sticky;
    top: 64px;
    z-index: 90;
    border-bottom: 1px solid #f0f0f0;
}

.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.filter-tabs {
    display: flex;
    gap: 4px;
}

.filter-tab {
    padding: 7px 20px;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: #86909C;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.25s;
    font-family: inherit;
    font-weight: 500;
}

.filter-tab:hover {
    color: #1D2129;
    background: #f2f3f5;
}

.filter-tab.active {
    color: #fff;
    background: #0A1628;
}

.filter-right {
    flex: 0 0 220px;
}

.filter-input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #f7f8fa;
}

.filter-input:focus {
    border-color: #165DFF;
    background: #fff;
}

/* ---- Articles Grid ---- */
.research-list {
    padding: 48px 0 80px;
    background: #f7f8fa;
    min-height: 400px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ---- Article Card ---- */
.article-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e8eaed;
    cursor: pointer;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(10, 22, 40, 0.08);
    border-color: transparent;
}

.article-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.article-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(10,22,40,0.25));
}

.article-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.article-domain {
    font-size: 0.7rem;
    font-weight: 600;
    color: #4E5969;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: #f2f3f5;
    padding: 2px 10px;
    border-radius: 3px;
}

.article-date {
    font-size: 0.78rem;
    color: #C9CDD4;
}

.article-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1D2129;
    line-height: 1.55;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-subtitle {
    font-size: 0.84rem;
    color: #86909C;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.article-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 16px;
}

.article-keyword {
    padding: 2px 8px;
    background: #f7f8fa;
    border-radius: 3px;
    font-size: 0.72rem;
    color: #86909C;
}

/* ---- Pagination ---- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 56px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8eaed;
    background: #fff;
    border-radius: 8px;
    font-size: 0.85rem;
    color: #4E5969;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    padding: 0 6px;
}

.page-btn:hover {
    border-color: #165DFF;
    color: #165DFF;
}

.page-btn.active {
    background: #0A1628;
    color: #fff;
    border-color: #0A1628;
}

.page-btn:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.page-ellipsis {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9CDD4;
    font-size: 0.85rem;
}

/* ---- Empty ---- */
.articles-empty {
    text-align: center;
    padding: 80px 20px;
    color: #86909C;
    font-size: 0.95rem;
}

/* ---- Three.js Viz ---- */
.research-viz {
    padding: 96px 0 80px;
    background: #fff;
}

.viz-eyebrow {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #C9CDD4;
    margin-bottom: 12px;
    font-weight: 500;
}

.viz-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1D2129;
    margin-bottom: 10px;
}

.viz-desc {
    text-align: center;
    color: #86909C;
    font-size: 0.95rem;
    margin-bottom: 48px;
}

.viz-container {
    width: 100%;
    height: 500px;
    border-radius: 16px;
    background: #0A1628;
    overflow: hidden;
    position: relative;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; letter-spacing: 3px; }
    .hero-content { padding: 120px 20px 60px; }
    .research-hero { min-height: 400px; }

    .featured-card { grid-template-columns: 1fr; }
    .featured-image { min-height: 200px; }
    .featured-body { padding: 28px; }
    .featured-title { font-size: 1.2rem; }

    .filter-bar { flex-direction: column; gap: 12px; }
    .filter-tabs { flex-wrap: wrap; }
    .filter-right { flex: 1 1 100%; }

    .articles-grid { grid-template-columns: 1fr; }
    .article-card-image { height: 160px; }

    .viz-container { height: 350px; }
}
