body {
  background: #000; /* JS 로딩 전 어두운 배경 대비용 */
}

.container.pc-only {
  background-color: transparent;  /* 내부 box는 그대로 */
  position: relative;
  z-index: 1;
}



/* 기본값: PC에서 보임 */
.pc-only {
  display: block;
}




/* 화면 너비가 768px 이하일 경우 (모바일) */
@media screen and (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}


/*인트로 설정 */
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0px rgba(230, 10, 0, 0.0);
  }
  50% {
    box-shadow: 0 0 15px rgba(171, 9, 0, 0.7);
  }
  100% {
    box-shadow: 0 0 0px rgba(230, 10, 0, 0.0);
  }
}


/* 👇 공통으로 쓸 fade 효과 */


/* 줄바꿈 지원 */
.video-caption-overlay {
  white-space: pre-line;
}

/* 페이드 인 */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}


/*인트로 head area  */
.intro_head_area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    background-color: transparent; /* 필요 시 배경 추가 */
    max-width: 900px;
    margin: 0 auto;
}

.intro_head_area .logo img {
    height: 40px;
    object-fit: contain;
}

.close-button {
    font-size: 80px;        /* 크고 */
    font-weight: 100;       /* 가는 선 */
    color: #fff;
    cursor: pointer;
    line-height: 0;
    transition: opacity 0.2s ease;
    transform: scaleX(0.85);  /* 폭만 살짝 줄여서 얇아 보이게 */
}

.close-button:hover {
    opacity: 0.6;
}



/*인트로 video area  */
.video-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  border-radius: 10px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* 🔥 오버레이 문구 */
.video-caption-overlay {
  position: absolute;
  bottom: 124px;
  left: 24px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  z-index: 2;
  pointer-events: none; /* 클릭 막지 않게 처리 */
}

.caption-head {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 6px;
  text-align:left;
  line-height: 1.3; /* ✅ 줄간격 조절 */
}

.caption-sub {
  font-size: 16px;
  color: #e0e0e0;
  text-align:left;
  line-height: 1.4; /* ✅ 조금 좁게 */
}





.intro_container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 20px;
}






/*인트로 step area  */
.step_area_box {
  position: relative;
  top: -100px; /* ✅ 영상 위로 40px 겹치게 */
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin: 0 auto;
  width: 95%;
  max-width: 750px;
  z-index: 10;
}



.step-progress-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0 10px;
}

.step-indicators {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 10px;
}

.step-circle {
  width: 24px;
  height: 24px;
  background-color: #eee;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
  font-weight: bold;
  color: #999;
  z-index: 2;
}

.step-circle.active {
  background-color: red;
  color: white;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: #eee;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: red;
  width: 0%;
  transition: width 0.3s ease-in-out;
}


/*인트로 input area  */
.step_input_container {
  width: 100%;
  max-width: 700px;
  padding: 20px 0 10px;
  margin: 0 auto;
}


/*인트로 step1 box_button  */
.choice-box {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.vehicle-option {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1.5px solid #ccc;
  border-radius: 12px;
  background-color: white;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: left;
}

.vehicle-option:hover {
  border-color: #e60023;
  background-color: #fff5f7;
}

.option-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.option-text .option-title {
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 2px;
  color : black;
}

.option-text .option-desc {
  font-size: 14px;
  color: #666;
}



.input-row {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.input-row input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.input-row button {
  padding: 12px 20px;
  font-size: 16px;
  background-color: var(--button-red, #F14C56);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.input-row button:hover {
  background-color: #d9303c;
}





/* ✅ 요약 정보 전체 컨테이너 */
.summary-container {
  background: white;
}

/* ✅ 제목 */
.summary-container h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

/* ✅ 요약 정보 + 버튼 묶음 */
.summary-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch; /* 👉 높이 맞춤 핵심 */
  gap: 16px;
}

/* ✅ 왼쪽 정보 카드 */
.summary-info {
  background: #f2f2f2;
  flex: 1 1 55%;
  padding: 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 수직 정렬 */
}

/* ✅ 각 행 (2열 구성) */
.info-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}

/* ✅ 각 항목 */
.info-row p {
  flex: 1 1 50%;
  margin: 0;
  font-size: 15px;
}

/* ✅ 오른쪽 버튼 */
.summary-action button {
  height: 100%; /* ✅ 부모 높이에 맞춰 확장 */
  display: flex;
  align-items: center;
  justify-content: center;
  /* 나머지는 그대로 유지 */
}

/* ✅ 버튼 스타일 */
.summary-action button {
  width: 100%;
  padding: 18px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  background-color: #e60012;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
  transition: background-color 0.2s ease;
}

.summary-action button:hover {
  background-color: #cc0010;
}


#bg-body {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}




.privacy-agreement {
  margin: 10px 0;
  font-size: 0.95rem;
}
.privacy-agreement a {
  color: #007bff;
  text-decoration: underline;
}
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
}
.modal-content .close {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
}
