/* ===========================================
   기술과 가능성 페이지 전용 스타일
   NextE&M 수직 타임라인 시스템 (2025-06-19)
   모듈화 버전 - 정리 및 최적화 완료
   ========================================== */

/* 모듈 임포트 */
@import url('tech-page-base.css');    /* 기본 설정 및 변수 */
@import url('tech-page-stats.css');   /* R&D 성과 섹션 */
@import url('tech-page-timeline.css'); /* 타임라인 시스템 */
@import url('tech-page-grid.css');    /* 자료 그리드 및 카드 */
@import url('tech-page-filters.css'); /* 필터 시스템 */

/* === 스크롤 투 탑 버튼 === */
.scroll-to-top {
    position: fixed;
    bottom: 30px;  /* 아래에서 거리 */
    right: 30px;   /* 오른쪽에서 거리 - left: 30px로 변경하면 왼쪽 */
    width: 50px;
    height: 50px;
    background-color: #003399;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
}

.scroll-to-top:hover {
    background-color: #002266;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 51, 153, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* 모바일에서 버튼 크기 조정 */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* === 기본 리셋 (legacy support) === */
.tech-page .tech-timeline {
    padding: 0;
    background: none;
    position: static;
    max-width: none;
    margin: 0;
}

.tech-page .tech-timeline .timeline-container {
    display: none;
}