/* 1. 전역 기본 스타일 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Malgun Gothic', sans-serif;
    background-color: #11091c; /* 마음에 드셨던 미예누리 어두운 보라색 배경 완벽 복구 */
    color: #ffffff;
    line-height: 1.7;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* 2. 상단 내비게이션 바 */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%;
    background-color: rgba(17, 9, 28, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo { font-size: 24px; font-weight: 300; letter-spacing: 2px; color: #ffffff; text-transform: uppercase; }
nav a { margin-left: 30px; font-size: 14px; color: #bbbbbb; transition: color 0.3s; }
nav a:hover { color: #8b31ff; }

/* 3. 본문 이미지 스트림 영역 (정중앙 750px 정렬) */
.image-stream-container {
    padding-top: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    background-color: #11091c;
}

.stream-item {
    width: 100%;
    max-width: 750px;
    display: flex;
}

.stream-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* 4. 첫 화면 비디오 배너 스타일 */
.video-banner-section {
    width: 100%;
    max-width: 750px;
    height: 480px;
    position: relative;
    overflow: hidden;
    background-color: #000000;
}

.main-video-file {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-sub {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    opacity: 0.9;
}

.video-overlay-text h1 {
    font-size: 38px;
    font-weight: 300;
    letter-spacing: 4px;
}

/* 5. 상담 신청 섹션 (다크 테마 환경 속 화이트 양식 박스로 가독성 부여) */
.contact-section { 
    padding: 100px 0 60px 0; 
    background-color: #11091c; /* 어두운 배경 유지 */
    width: 100%;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.contact-container {
    width: 100%;
    max-width: 750px;
    padding: 0 20px;
    margin: 0 auto;
}

.form-title { font-size: 32px; font-weight: bold; color: #ffffff; margin-bottom: 10px; text-align: center; }
.form-subtitle { font-size: 15px; color: #bbb; margin-bottom: 40px; text-align: center; }

.premium-form {
    background: #ffffff;
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: left;
    color: #333333;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    color: #222222;
    margin-bottom: 8px;
}

.premium-form input[type="text"], 
.premium-form textarea, 
.premium-form select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fdfdfd;
    font-size: 15px;
    color: #333;
    outline: none;
    transition: border-color 0.3s;
}
.premium-form input[type="text"]:focus, 
.premium-form textarea:focus, 
.premium-form select:focus {
    border-color: #8b31ff;
}

.radio-group {
    display: flex;
    gap: 35px;
    padding: 5px 0;
}
.radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
}
.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #8b31ff;
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.phone-row select, .phone-row input {
    flex: 1;
    text-align: center;
}
.hyphen { color: #aaa; font-weight: bold; }

.premium-form textarea {
    height: 95px;
    resize: none;
}

.agree-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    font-size: 14px;
    color: #555;
}
.agree-row input[type="checkbox"] {
    width: 19px;
    height: 19px;
    cursor: pointer;
    accent-color: #8b31ff;
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background-color: #8b31ff; 
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-primary:hover {
    background-color: #7224d6;
}

/* 6. 💡 [새로운 레이아웃] 상담창 바로 뒤에 매칭 정렬되어 피날레를 장식할 신고증 영역 */
.cert-final-container {
    background-color: #11091c; /* 어두운 배경색 매칭 통일 */
    display: flex;
    justify-content: center;
    width: 100%;
    padding-bottom: 120px; /* 맨 밑바닥 여백 확보 */
}

.cert-item-box {
    width: 100%;
    max-width: 520px; /* 거대해지지 않도록 아담하게 고정 */
    border: 1px solid rgba(255, 255, 255, 0.08); /* 어두운 배경용 은은한 테두리 */
    display: flex;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.cert-item-box img {
    width: 100%;
    height: auto;
    display: block;
}