@charset "utf-8";

/* Pretendard 폰트 기본 적용 */
body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
    background-color: #0f172a;
    color: #f8fafc;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Alpine.js 클록 초기화 깜빡임 방지 */
[x-cloak] {
    display: none !important;
}

/* 스크롤바 커스텀 */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* 네비게이션 링크 스타일 */
.nav-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 배경 슬라이더 (패럴랙스 효과) */
.sticky-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
}

.bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
}

/* 스크롤 섹션 (히어로 영역) */
.scroll-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    opacity: 0.2;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding-top: 6rem;
}

.scroll-section.active {
    opacity: 1;
    transform: translateY(0);
}

/* 글래스모피즘 카드 디자인 */
.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(245, 158, 11, 0.4);
}

/* 폼 영역 컨테이너 래퍼 (밝은 배경 전환 구간) */
.form-container-wrap {
    background-color: #f8fafc;
    position: relative;
    z-index: 10;
    border-top-left-radius: 2.5rem;
    border-top-right-radius: 2.5rem;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.2);
}

/* 인터랙티브 폼 카드 디자인 */
.interactive-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

/* 폼 입력 요소 공통 스타일 */
.form-input {
    width: 100%;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #d97706;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

/* 커스텀 라디오 버튼 */
.custom-radio {
    appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    outline: none;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    top: 2px;
}

.custom-radio:checked {
    border-color: #d97706;
    background-color: #d97706;
    box-shadow: inset 0 0 0 3px #fff;
}

/* 반응형 미디어 쿼리 */
@media (max-width: 768px) {
    .scroll-section {
        min-height: 90vh;
        padding-top: 5rem;
    }
}