/* ===== RESEARCH SECTION ===== */
.research-section {
    min-height: 100vh;
    padding: 4rem 0 4rem;
}

.research-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== STATS ===== */
.research-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.r-stat-card {
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.r-stat-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-3px);
}

.r-stat-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.r-stat-icon {
    font-size: 1.8rem;
    color: var(--violet-light);
}

.r-stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== FEATURED PAPER ===== */
.featured-paper {
    padding: 2rem;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.featured-paper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-violet);
}

.featured-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--violet-light);
    margin-bottom: 1rem;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.featured-authors {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.featured-authors i {
    color: var(--violet-light);
}

.featured-journal {
    font-size: 0.88rem;
    color: var(--violet-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-style: italic;
}

.featured-abstract {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.featured-tags,
.paper-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.featured-links,
.paper-links {
    display: flex;
    gap: 0.8rem;
}

.btn-sm {
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
}

/* ===== PAPERS LIST ===== */
.papers-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.paper-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: var(--transition);
}

.paper-card:hover {
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ===== PAPER LEFT ===== */
.paper-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    min-width: 100px;
    padding-top: 0.2rem;
}

.paper-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-published {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-under_review {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.status-in_progress {
    background: rgba(124, 58, 237, 0.1);
    color: var(--violet-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.paper-year {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== PAPER RIGHT ===== */
.paper-right {
    flex: 1;
}

.paper-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.paper-authors {
    font-size: 0.87rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    flex-wrap: wrap;
}

.author-highlight {
    color: var(--violet-light);
    font-weight: 600;
}

.paper-journal {
    font-size: 0.85rem;
    color: var(--violet-light);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-style: italic;
}

.paper-abstract {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.paper-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.research-tag {
    padding: 0.2rem 0.7rem;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--violet-light);
}

.paper-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: var(--violet-light);
    text-decoration: none;
    padding: 0.3rem 0.8rem;
    border: 1px solid rgba(124, 58, 237, 0.25);
    border-radius: 8px;
    transition: var(--transition);
}

.paper-link:hover {
    background: rgba(124, 58, 237, 0.12);
    border-color: var(--violet-main);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 4rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: rgba(124, 58, 237, 0.25);
    margin-bottom: 1rem;
    display: block;
}

/* ===== DETAIL PAGE ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--violet-light);
    gap: 0.8rem;
}

.paper-detail-header {
    padding: 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.paper-detail-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-violet);
}

.paper-detail-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 1rem 0;
}

.paper-detail-authors {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.paper-detail-authors i {
    color: var(--violet-light);
}

.paper-detail-journal {
    font-size: 0.9rem;
    color: var(--violet-light);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-style: italic;
}

.paper-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.paper-detail-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.paper-detail-body {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    margin-bottom: 3rem;
}

.paper-section h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--glass-border);
}

.paper-section h3 i {
    color: var(--violet-light);
}

.paper-section p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.9;
}

.related-papers {
    margin-top: 2rem;
}

.related-papers .papers-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .research-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .paper-card {
        flex-direction: column;
        gap: 1rem;
    }

    .paper-left {
        flex-direction: row;
        min-width: unset;
    }

    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .research-stats {
        grid-template-columns: 1fr;
    }
}