:root {
    --bg-color: #EAE8E0;
    --text-color: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Impact', 'Charcoal', sans-serif;
    overflow-x: hidden;
}

.bg-noise {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.05; pointer-events: none; z-index: 999;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    filter: contrast(170%) brightness(100%);
}

.section {
    min-height: 100vh; width: 100%;
    position: relative;
    padding: 100px 0;
    display: flex; flex-direction: column; justify-content: center;
}

/* 1. 히어로 */
.hero-section { align-items: center; z-index: 10; background: var(--bg-color); }
.title-stack { text-align: center; margin-bottom: 50px; }
.kraft-text {
    font-size: clamp(4rem, 20vw, 15rem); line-height: 0.8;
    text-transform: uppercase; letter-spacing: -0.04em;
    color: #444; opacity: 0;
}
.kraft-text:nth-child(2) { color: #000; }
.scroll-down {
    position: absolute; bottom: 40px; text-align: center;
    font-family: sans-serif; font-size: 0.8rem; opacity: 0.6;
}
.arrow { font-size: 1.5rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% {transform: translateY(0);} 50% {transform: translateY(-10px);} }


/* 2. [수정됨] 앱 섹션 */
.app-section {
    background-color: #e6e4dc;
    overflow: hidden; /* 가로 스크롤바 방지 */
    justify-content: center;
    padding: 0; /* 패딩 제거 */
}

.app-text-wrapper {
    text-align: center; margin-bottom: 40px; z-index: 5;
    padding: 0 20px;
}
.app-text-wrapper h2 { font-size: 4rem; margin-bottom: 10px; }
.app-text-wrapper p { font-family: sans-serif; font-size: 1.2rem; opacity: 0.7; }

/* 아이폰 트랙 */
.phones-track {
    display: flex;
    gap: 50px; /* 아이폰 사이 간격 */
    width: max-content; /* 내용물만큼 길어짐 */
    /* CSS 패딩 제거: JS로 위치 완벽 제어 */
    padding-left: 0; 
}

.iphone-item {
    display: flex; flex-direction: column; align-items: center;
    flex-shrink: 0;
}

/* 아이폰 목업 (똑바르게!) */
.iphone-mockup {
    width: 300px; height: 600px;
    background: #000; border-radius: 45px;
    border: 8px solid #1a1a1a;
    position: relative; overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 100px; height: 25px; background: #000;
    border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; z-index: 10;
}
.screen { width: 100%; height: 100%; background: #222; }
.app-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.caption { margin-top: 20px; font-family: sans-serif; font-weight: bold; font-size: 1.2rem; opacity: 0.8; }


/* 3. 고려대 */
.ku-section { background-color: #EAE8E0; align-items: center; z-index: 10; }
.content-wrapper { text-align: center; opacity: 0; transform: translateY(50px); }
.ku-logo-text { color: #990000; }
.shield { font-size: 6rem; display: block; margin-bottom: 20px; }
.ku-logo-text h2 { font-size: 5rem; line-height: 1; letter-spacing: -1px; }
.subtitle { font-family: sans-serif; font-weight: bold; margin-bottom: 20px; opacity: 0.5; }


/* 4. 지원하기 */
.apply-section { background-color: #1a1a1a; color: #fff; align-items: center; z-index: 10; }
.apply-container { text-align: center; opacity: 0; transform: scale(0.9); }
.recruit-info { font-family: sans-serif; font-size: 1.2rem; margin-bottom: 30px; opacity: 0.8; letter-spacing: 2px;}
.apply-btn {
    display: inline-block; font-size: 4rem; color: #fff; text-decoration: none;
    border: 4px solid #fff; padding: 30px 80px; transition: all 0.3s ease; text-transform: uppercase;
}
.apply-btn:hover { background-color: #fff; color: #000; transform: translateY(-5px); box-shadow: 0 10px 30px rgba(255,255,255,0.2); }
.arrow-icon { font-size: 2rem; vertical-align: middle; margin-left: 10px; }


/* Footer */
.footer { background: #000; color: #888; padding: 60px 20px; font-family: sans-serif; font-size: 0.9rem; z-index: 10; }
.footer-row { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer h3 { color: #fff; font-size: 1.5rem; margin-bottom: 5px; font-family: 'Impact'; letter-spacing: 1px;}
.right { text-align: right; }
.contact { margin-bottom: 5px; color: #fff; }

@media (max-width: 768px) {
    .iphone-mockup { width: 220px; height: 450px; }
    .phones-track { gap: 30px; }
    .ku-logo-text h2 { font-size: 3rem; }
    .apply-btn { font-size: 2.5rem; padding: 20px 40px; }
    .footer-row { flex-direction: column; gap: 30px; text-align: center; }
    .right { text-align: center; }
}