body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #ffffff;
}
.intro-section {
    position: relative;
    width: 100%;
    height: auto;
    /* min-height: 850px; */
    background: #FFFFFF;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center; /* 수평 중앙 정렬 (이 부분을 추가) */
    padding: 250px 60px 60px;
    overflow: hidden;
    box-sizing: border-box;
}

.intro-content {
    width: 100%; /* ✨ 콘텐츠가 할당된 공간을 100% 사용하도록 설정 */
    max-width: 1800px; /* ✨ 최대 너비를 1400px로 제한 */

    display: flex;
    flex-direction: column;
    gap: 35px;
}

.intro-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 550;
    font-size: clamp(18px, 1.3vw, 25px);
    line-height: 1.5;
    letter-spacing: -0.01em;
    margin: 0;
    z-index: 2;

}

.intro-title {
    font-family: 'Plus Jakarta Sans';
    font-weight: 800;
    /* font-size: clamp(42px, 9.4vw, 150px); */
    font-size: clamp(42px, 7vw, 150px);
    line-height: 0.93;
    letter-spacing: -0.01em;
    /* text-transform: uppercase; */
    margin: 0;
    transform: translateX(-10px);
    z-index: 2;
}

.intro-title span {
    display: block;
}

/* --- 그래픽 요소 (JavaScript 제어용) --- */
.intro-graphic {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1600px;
    height: 100%;
    pointer-events: none;
}

/* 라인의 시작점(앵커) 역할을 하는 그룹 */
.graphic-group {
    position: absolute;
}

/* 키워드 아이템 (이제 그룹 내에서 위치 결정) */
.keyword-item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Pretendard';
    font-weight: 600;
    font-size: 13px;
    letter-spacing: -0.01em;
}

.keyword-item .square {
    width: 15px;
    height: 15px;
    background: #000000;
}

/* 라인 (JS에서 너비와 각도를 설정) */
.line {
    position: absolute;
    top: 15px;
    left: 0;
    height: 0.5px;
    background-color: #70707096;
    transform-origin: left center; /* 회전축을 왼쪽 중심으로 고정 */
    z-index: 0;

}

@media (max-width: 768px) {
    .intro-section {
        padding: 20px;
        height: auto;
        top: 80px; /* Adjust for smaller header */
        left: 0;
        text-align: center;
    }

    .intro-content {
        gap: 20px;
        align-items: center;
    }

    .intro-graphic {
        display: none; /* Hide complex animation on mobile */
    }

    .intro-title {
        font-size: clamp(36px, 10vw, 60px);
        transform: translateX(0);
    }

    .intro-description {
        font-size: clamp(16px, 4vw, 20px);
    }
}

#m-char {
    display: inline;
}