/* =========================================
   보장 분석 서비스 PC 랜딩페이지 스타일
   ========================================= */

:root {
  --blue: #1D4ED8;
  --light-bg: #EFF6FF;
  --border: #E5E7EB;
  --dark-text: #111827;
  --gray-text: #6B7280;
}

/* =========================================
   공통
   ========================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  background: #fff;
  color: var(--dark-text);
  line-height: 1.5;
  width: 100%;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =========================================
   헤더
   ========================================= */
header {
  background: #fff;
  border-bottom: 1px solid #E5E5E5;
  padding: 25px 0;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 90px;
  box-sizing: border-box;
}

header .container {
  display: flex;
  align-items: center;
  width: 100%;
}

header img {
  width: 108px;
  display: inline-block;
}

/* =========================================
   히어로 섹션
   ========================================= */
.sec-hero {
  background: var(--light-bg);
  padding: 54px 0;
  position: relative;
}

.sec-hero .container {
  display: flex;
  gap: 44px;
  align-items: flex-start;
  position: relative;
}

/* 히어로 좌측 */
.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-left .sub {
  font-size: 24px;
  font-weight: 500;
  color: var(--dark-text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.hero-left h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark-text);
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--blue);
  color: #fff;
  background: var(--blue);
  border-radius: 5px;
  padding: 6px 20px;
  font-size: 26px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  letter-spacing: -0.2px;
  transition: all 0.15s;
  cursor: default;
}

.btn-hero:hover {
  background: var(--blue);
  color: #fff;
}

.hero-shield {
  height: 170px;
  position: absolute;
  bottom: 30px;
  left: 270px;
  display: flex;
  justify-content: center;
}

/* 히어로 우측 */
.hero-right {
  flex: 0 0 476px;
  padding-top: 6px;
}

/* =========================================
   폼 박스
   ========================================= */
.form-box {
  background: #fff;
  border-radius: 10px;
  padding: 37px 35px;
}

.form_list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form_item {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form_title {
  font-size: 11px;
  color: var(--gray-text);
  font-weight: 500;
  margin-bottom: 4px;
}

.form_item input[type="text"],
.form_item input[type="tel"] {
  height: 62px;
  background: #F3F4F6;
  border: none;
  border-radius: 8px;
  padding: 0 27px;
  font-size: 18px;
  outline: none;
  color: var(--dark-text);
  width: 100%;
}

.form_item input[type="text"]:focus,
.form_item input[type="tel"]:focus {
  background: #EAECEF;
}

.form_item input[type="text"]::placeholder,
.form_item input[type="tel"]::placeholder {
  color: #9CA3AF;
}

/* 이름 + 성별 행 */
.form_item--row .form_name_sex {
  display: flex;
  align-items: center;
  gap: 6px;
}

.form_item--row .form_name_sex .form-name {
  flex: 1;
  height: 62px;
}

/* 성별 선택 */
.sex_cover {
  display: flex;
  align-items: stretch;
  gap: 6px;
  background: transparent;
  flex-shrink: 0;
  height: 62px;
}

.sex_cover input[type="radio"] {
  display: none;
}

.sex_cover label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 100%;
  font-size: 18px;
  color: var(--gray-text);
  cursor: pointer;
  font-weight: 600;
  background: #F3F4F6;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
}

.sex_cover label:nth-of-type(2) {
  border-left: none;
}

.sex_cover input[type="radio"]:checked + label {
  background: var(--blue);
  color: #fff;
}

.confirm_wrap {
  margin-top: 22px;
}

.btn_submit {
  width: 100%;
  height: 67px;
  background: var(--blue);
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  border-radius: 8px;
  letter-spacing: -0.3px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  margin: 12px 0 0;
}

.btn_submit:hover {
  background: #1E40AF;
}

/* =========================================
   탭 섹션
   ========================================= */
.sec-tabs {
  background: #fff;
  padding: 57px 0 0;
}

.tabs {
  display: flex;
  gap: 40px;
}

.tab-item {
  flex: 1;
  padding: 36px 27px 22px;
  cursor: pointer;
  background: #F3F4F6;
  border-radius: 10px;
  position: relative;
  height: 270px;
  box-sizing: border-box;
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}

.tab-item.active {
  background: #003cdc;
  box-shadow: 0 0px 10px rgba(0, 68, 255, 0.5)
}

.tab-title {
  font-size: 25px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.tab-item.active .tab-title {
  color: #fff;
}

.tab-sub {
  font-size: 24px;
  color: var(--gray-text);
  line-height: 1.3;
  margin-bottom: 40px;
}

.tab-sub span{
  font-weight:500;
}

.tab-item.active .tab-sub {
  color: #fff;
}

.tab-arrow {
  width: 42px;
  aspect-ratio: 1/1;
  object-fit: contain;
  margin-left: auto;
}

.tab-item:not(.active) .tab-arrow {
  filter: none;
}

/* =========================================
   콘텐츠 섹션 공통
   ========================================= */
.sec-content {
  display: none;
  padding: 74px 0 60px;
  background: #fff;
}

.sec-content.active {
  display: block;
}

.point-label {
  font-size: 24px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.3px;
  line-height: 1.3;
}

.sec-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  text-align: left;
}

/* =========================================
   섹션 01 - 보험 진단 카드
   ========================================= */
.diag-cards {
  display: flex;
  gap: 40px;
}

.diag-card {
  flex: 1;
  border-radius: 10px;
  padding: 27px 25px 50px;
  display: flex;
  flex-direction: column;
  background: #f0f8ff;
}

.card-num {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  line-height: initial;
}

.card-img {
  height: 92px;
  object-fit: contain;
  margin: 0 auto 32px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-text);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.card-desc {
  font-size: 18px;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 15px;
  flex: 1;
  font-weight: 500;
  letter-spacing: -0.6;
  line-height: 1.3;
}

.btn-card {
  width: 100%;
  height: 45px;
  border: 1.5px solid var(--blue);
  background: var(--blue);
  color: #fff;
  border-radius: 5px;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.2px;
  transition: all 0.15s;
}

.btn-card:hover {
  background: #1E40AF;
  border-color: #1E40AF;
}

/* =========================================
   섹션 02 - 보험료 점검
   ========================================= */
.fee-layout {
  display: flex;
  align-items: center;
  gap: 56px;
}

.fee-card {
  flex: 415px 0 0;
  border-radius: 8px;
  padding: 63px 40px;
  background: #f0f8ff;
}

.fee-card-sub {
  font-size: 22px;
  color: var(--gray-text);
  letter-spacing: 0.2px;
}

.fee-card-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 22px;
  letter-spacing: -0.4px;
}

.bar-group {
  margin-bottom: 22px;
  width: 100%;
}

.bar-label {
  font-size: 18px;
  color: #374151;
  margin-bottom: 7px;
  display: block;
  font-weight:600;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.fee-card .bar-group:first-of-type .bar-track {
  box-shadow: 0 0px 10px rgba(0, 68, 255, 0.5);
}

.bar-track {
  flex: 1;
  width: 100%;
  height: 32px;
  border-radius: 100px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 100px;
}

.bar-fill-blue { background: var(--blue);}
.bar-fill-gray { background: #7c7c7c; }

.bar-amount {
  font-size: 17px;
  color: #fff;
  text-align: right;
  font-weight: 300;
  white-space: nowrap;
  position: absolute;
  right: 20px;
}

.divider-arrow {
  width: 44px;
  aspect-ratio: 1/1;
  object-fit: contain;
  flex-shrink: 0;
}

.fee-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fee-right-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom:10px;
}

.feature-card {
  border-radius: 8px;
  padding-left: 30px;
  display: flex;
  align-items: center;
  gap: 26px;
  background: #f0f8ff;
  height: 130px;
}

.feature-icon {
  width: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.feature-text {
  font-size: 26px;
  font-weight: 500;
  color: var(--dark-text);
  letter-spacing: -0.2px;
  line-height: 1.3;
}

/* =========================================
   섹션 03 - 보장 점검
   ========================================= */
.check-layout {
  display: flex;
  align-items: center;
  gap: 55px;
}

.check-left {
  flex: 0 0 418px;
  display: flex;
   flex-direction: column;
  gap: 26px;
}

/* 계단식 버튼 */
.btn-check {
  display: block;
  padding: 28px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 300;
  cursor: pointer;
  text-align: center;
  line-height: 1.4;
  border: 1.5px solid transparent;
  letter-spacing: -0.2px;
  transition: all 0.15s;
  color: #fff;
  width:80%;
}

.btn-check-1 {
  background: var(--blue);
}

.btn-check-2 {
  background: #4880fe;
  margin-left:20%;
}

.btn-check-3 {
  background: #a1c3ff;
}

.check-right {
  flex: 1;
  text-align: center;
  padding: 10px 20px;
}

.check-expert-img {
  height: 200px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.check-desc {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark-text);
  line-height: 1.36;
  letter-spacing: -0.4px;
}

.check-desc strong {
  color: var(--blue);
}

/* =========================================
   필수 안내사항
   ========================================= */
.sec-notice {
  background: #F9FAFB;;
  padding: 60px 0;
}

.sec-notice h3{ font-size: 26px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: space-between; user-select: none;}
.sec-notice h3::after { content: ''; display: inline-block; width: 20px; height: 20px; background-image: url('../Img/arrow.png'); background-size: contain; background-repeat: no-repeat; background-position: center; transition: transform 0.3s ease;}
.sec-notice h3.active::after { transform: rotate(180deg);}
.sec-notice .text_box { font-size: 18px; color: #aaa; line-height: 2; margin-top:24px; display: none;}
.sec-notice .text_box.open { display: block;}
.sec-notice .text_box ul { display: flex; flex-direction: column; gap: 8px;}
.sec-notice .text_box .sim_box { margin-top: 20px;}

/* =========================================
   푸터
   ========================================= */
footer {
  background: #F9FAFB;
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

footer .container {
  text-align: left;
}

footer .copy_s p { font-size: 18px; color: #999;  line-height: 1.5; display: flex; flex-wrap: wrap; gap: 0 4px;}
footer .ft-button { margin-top: 16px; display: flex; align-items: center; gap: 8px;}
footer .ft-button button { color: #555; font-size: 18px; font-weight: 500;}

/* =========================================
   개인정보처리방침 모달
   ========================================= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.is-open {
  display: flex;
  animation: overlayIn 0.2s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-container {
  background: #fff;
  border-radius: 12px;
  width: 680px;
  max-width: 92%;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  animation: modalIn 0.25s ease;
  display: flex;
  flex-direction: column;
}

@keyframes modalIn {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
  flex-shrink: 0;
}

.modal-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.modal-close {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  font-size: 24px;
  color: #555;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.modal-close:hover { color: #111; }

.modal-body {
  padding: 24px 32px 32px;
  overflow-y: auto;
}

.modal-body p {
  font-size: 13px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 8px;
}

.privacy-section-title {
  font-weight: 700;
  color: #111 !important;
  margin-top: 20px !important;
  margin-bottom: 6px !important;
}

.privacy-section-title:first-child {
  margin-top: 0 !important;
}

.privacy-sub-title {
  font-weight: 600;
  color: #333 !important;
  margin-top: 10px !important;
}
