* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    font-family: 'Noto Sans KR', sans-serif;
    background: #1d1f20;
}

body,
img {
    user-select: none;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    -webkit-user-drag: none;   /* Safari: 이미지 드래그 방지 */
    pointer-events: auto;      /* 선택은 막지만 클릭 이벤트는 허용 */
}


ul, li{
    list-style:none;
}

h1,h2,h3,h4,h5,h6,p {
    margin: 0;
    padding: 0;
}

a{
    text-decoration:none;
    color:inherit;
}

.logo-container {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    height: 70px;
    font-family: 'Pretendard', 'Malgun Gothic', sans-serif;
    letter-spacing: -0.5px;
    box-sizing: border-box; /* 패딩과 보더를 높이에 포함 */
}

/* 시안 1 스타일 */
.sian-1 {
    padding: 10px 0;
}

.sian-1 .main-title {
    font-size: 22px;
    font-weight: 900; /* ExtraBold */
    color: #0052cc; /* 진한 파란색 */
}

.sian-1 .sub-title {
    font-size: 13px;
    font-weight: 500;
    color: #555; /* 회색 */
    margin-top: 4px;
}

#section-1 {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

#welcome {
    margin-top: 20px;
}

.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 10px;
    font-size: 1rem;
    z-index: 100;
    backdrop-filter: blur(8px);
    transition: top 0.3s ease;
}

.top-logo {
    height: 40px; /* 원하는 높이로 조절 */
    margin-right: 10px;
}

.banner-text {
    font-weight: 500;
}

.intro-text-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    color: white;
    /* ✅ 너비 추가 */
    width: 90%;
    max-width: 960px;
}

.intro-glass-text {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.intro-tabs,
.et-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    position: relative;
    background: #eee;
    text-align: center;
}

.intro-tabs-container {
    display: flex;
    /*flex-direction: row;*/
    flex-wrap: wrap; /* ✅ 자동 줄바꿈 */
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 130px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    background: #141617;
}

.intro-tab-label {
    flex: 1 1 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    font-size: 0.85rem;
    color: #fff;
}

.intro-tab-slider {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 6px;
    background: #66B1F1;
    transition: left 0.3s ease;
}

#tab-curriculum {
    background: #0D0D0D;
}

.recruit-summary {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 3rem 2rem;
    color: white;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.summary-left {
    flex: 1 1 45%;
    min-width: 280px;
}

.summary-left h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.summary-left p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.summary-right {
    flex: 1 1 20%;
    min-width: 280px;
}

.summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.summary-list img {
    width: 32px;
    height: 32px;
    margin-right: 1rem;
    margin-top: 2px;
    opacity: 0.8;
    flex-shrink: 0;
}

.summary-item {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.summary-title {
    margin-top: 1.5rem;              /* ✅ 위와 간격 주기 */
    padding: 1rem;                   /* ✅ 내부 여백 */
    background-color: rgba(255,255,255,0.05); /* ✅ 은은한 배경 */
    border-radius: 10px;             /* ✅ 살짝 둥글게 */
    font-size: 1.3rem;
    line-height: 1.6;
}

.summary-title strong {
    display: block;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #fff;
}


.original-price {
    color: #bbb;
    font-size: 1.2rem;
    text-decoration: line-through;
}

.arrow {
    margin: 0 0.5rem;
    font-size: 1.2rem;
    color: #888;
}

.final-price {
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
}

.label {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 0.3rem;
}

.value {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
}

.footer-banner-img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 100px; /* ✅ 높이 제한 */
}

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 90px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background-color: rgba(64, 64, 64, 0.3);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.question {
    position: fixed;
    bottom: 38px;
    right: 22px;
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background-color: rgba(64, 64, 64, 0.3);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* button */
.neon-button-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(5, 8, 1, 0.5);;
    padding: 20px;
    font-weight: bold;
}

/* Neon Button */
.neon-button {
    position: relative;
    display: inline-block;
    padding: 25px 30px;
    color: #03e9f4;
    background: none;
    border: none;
    text-transform: uppercase;
    transition: 0.5s;
    letter-spacing: 4px;
    overflow: hidden;
    margin: 0 20px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.2rem;
}

/* 버튼일 경우 기본 스타일 제거 */
.neon-button:focus {
    outline: none;
}

.neon-button:hover {
    background: #03e9f4;
    color: #050801;
    box-shadow: 0 0 5px #03e9f4,
    0 0 25px #03e9f4,
    0 0 50px #03e9f4,
    0 0 200px #03e9f4;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.neon-button span {
    position: absolute;
    display: block;
}

/* Top border */
.neon-button span:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: animate1 1s linear infinite;
}

/* Right border */
.neon-button span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: animate2 1s linear infinite;
    animation-delay: 0.25s;
}

/* Bottom border */
.neon-button span:nth-child(3) {
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #03e9f4);
    animation: animate3 1s linear infinite;
    animation-delay: 0.5s;
}

/* Left border */
.neon-button span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: animate4 1s linear infinite;
    animation-delay: 0.75s;
}

/* Hue rotate variations */
.neon-button.hue-270 {
    filter: hue-rotate(270deg);
}

.neon-button.hue-110 {
    filter: hue-rotate(110deg);
}

.intro-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none; /* ✅ 클릭 이벤트 무시 */
}

.intro-tabs h1,
.et-slide h1 {
    font-size: 1.7rem;
    margin-top: -12px;
}

.intro-tabs h3,
.et-slide h3 {
    font-size: 1rem;
    opacity: 0.6;
}

.intro-tabs-container--top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
}

.intro-tab {
    flex: 1 1 25%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size: 0.8rem;
    color: #81898F;
}

#tab-outline {
    background: #111;
}

.footer-himedia {
    width: 100%;
    max-height: 100px;
    padding: 0;
    margin: 0 auto;
    background: white;
}

.footer-inner {
    width: 100%;
    overflow: hidden;
}

/* Border animations */
@keyframes animate1 {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

@keyframes animate2 {
    0% { top: -100%; }
    50%, 100% { top: 100%; }
}

@keyframes animate3 {
    0% { right: -100%; }
    50%, 100% { right: 100%; }
}

@keyframes animate4 {
    0% { bottom: -100%; }
    50%, 100% { bottom: 100%; }
}


@media (max-width: 768px) {
    .final-price {
        font-size: 1.5rem;
    }

    #section-1 {
        min-height: 80vh; /* 모바일에서는 여유 공간 확보 */
    }

    .recruit-summary {
        flex-direction: column;
        padding: 2rem 1rem;
    }

    .summary-left,
    .summary-right {
        flex: 1 1 100%;
    }

    .summary-left h2 {
        font-size: 1.6rem;
    }

    .summary-title {
        font-size: 1rem;
    }

    .value {
        font-size: 1rem;
    }

    .summary-list li {
        align-items: flex-start;
    }

    .summary-list img {
        width: 28px;
        height: 28px;
        margin-right: 0.8rem;
    }

    .neon-button-wrapper {
        padding: 0;
    }
}

@media (min-width: 800px) {
    .intro-tabs h1,
    .et-slide h1 {
        margin-top: -20px;
        font-size: 3rem;
    }

    .intro-tabs h3,
    .et-slide h3 {
        font-size: 1rem;
    }

    .intro-tab {
        font-size: 1rem;
    }
    /**/
    .recruit-summary {
        padding: 1.5rem 1rem;
    }

    .summary-left h2 {
        font-size: 1.4rem;
    }

    .summary-title {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .summary-list li {
        margin-bottom: 1rem;
    }

    .summary-list img {
        width: 24px;
        height: 24px;
        margin-right: 0.6rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .value {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}