@charset "utf-8";

/* Service Page Styles */
.service_wrap { width: 100%; overflow-x: hidden; font-family: "Noto Sans KR", sans-serif; background-color: #f5f7fa; }
.service_wrap .inner { max-width: 1440px; margin: 0 auto; padding: 0 20px; }

/* 1. Hero Section */
.sec_hero {
    width: 100%; height: 450px;
    background: url('/img/main/main_bg.jpg') no-repeat center/cover;
    position: relative;
    display: flex; justify-content: center; align-items: center;
    text-align: center; color: white;
}
.sec_hero .bg_overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6); z-index: 1;
}
.sec_hero .text_container { position: relative; z-index: 2; }
.sec_hero h2 { font-size: 54px; font-weight: 800; letter-spacing: 2px; margin-bottom: 20px; }
.sec_hero p { font-size: 20px; font-weight: 400; opacity: 0.9; }


/* 2. Pricing Section */
.sec_pricing { padding: 100px 0; }
.pricing_head { text-align: center; margin-bottom: 60px; }
.pricing_head h3 { font-size: 40px; font-weight: 700; color: #333; margin-bottom: 15px; }
.pricing_head p { font-size: 16px; color: #666; line-height: 1.6; }

.pricing_grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: stretch; /* 높이 맞춤 */
}

/* 카드 공통 스타일 */
.price_card {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex; flex-direction: column;
    overflow: hidden;
    opacity: 0; transform: translateY(50px); /* 애니메이션 초기값 */
}

.price_card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #4FC3F7;
}

/* 뱃지 */
.price_card .badge {
    position: absolute; top: 0; left: 0; width: 100%;
    background: #333; color: white;
    text-align: center; font-size: 12px; font-weight: 700;
    padding: 8px 0; letter-spacing: 1px;
}
.price_card.pro .badge { background: linear-gradient(to right, #1565C0, #4FC3F7); }

/* 카드 헤더 */
.card_header { text-align: center; border-bottom: 1px solid #eee; padding-bottom: 30px; margin-bottom: 30px; }
.card_header h4 { font-size: 24px; font-weight: 800; color: #333; margin-bottom: 15px; }
.card_header .price { font-size: 42px; font-weight: 900; color: #1565C0; }
.card_header .price span { font-size: 18px; font-weight: 500; color: #333; margin-left: 2px; }
.card_header .vat { font-size: 12px; color: #999; margin-top: 5px; }
.card_header .desc { margin-top: 20px; font-size: 14px; color: #666; line-height: 1.5; }

/* 카드 바디 (리스트) */
.card_body { flex: 1; margin-bottom: 30px; }
.feature_list li {
    font-size: 15px; color: #555;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    line-height: 1.4;
}
.feature_list li::before {
    content: "•"; color: #ccc;
    position: absolute; left: 0; top: 0;
}
.feature_list li.point { color: #1565C0; font-weight: 700; }
.feature_list li strong { font-weight: 700; color: #333; }

/* 카드 푸터 (버튼) */
.btn_select {
    display: block; width: 100%;
    padding: 15px 0;
    text-align: center;
    border: 1px solid #1565C0;
    border-radius: 50px;
    color: #1565C0; font-weight: 700; font-size: 16px;
    transition: 0.3s;
}
.btn_select:hover { background: #1565C0; color: white; }
.btn_select.fill { background: #1565C0; color: white; box-shadow: 0 5px 15px rgba(21, 101, 192, 0.3); }
.btn_select.fill:hover { background: #0D47A1; }


/* PRO 카드 강조 스타일 */
.price_card.pro { border: 2px solid #1565C0; transform: scale(1.02); z-index: 2; }
.price_card.pro:hover { transform: scale(1.02) translateY(-15px); }


/* 3. Maintenance Section */
.sec_maintenance { padding: 80px 0; background: #fff; border-top: 1px solid #eee; }
.maint_box {
    display: flex; justify-content: space-between; align-items: center;
    background: #222; color: white;
    padding: 50px; border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.maint_box .text_box { width: 50%; }
.maint_box h3 { font-size: 32px; font-weight: 700; margin-bottom: 15px; color: #4FC3F7; }
.maint_box p { font-size: 18px; margin-bottom: 10px; }
.maint_box .sub_desc { font-size: 15px; color: #aaa; font-weight: 300; }

.maint_box .info_box {
    width: 45%;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.1);
    padding: 30px; border-radius: 15px;
}
.maint_box .price_box {
    text-align: center;
    padding-right: 40px; /* 구분선과의 간격을 30px -> 40px로 넓힘 */
    margin-right: 40px;  /* 우측 요소와의 간격 추가 */
    border-right: 1px solid rgba(255,255,255,0.2);
    min-width: 160px;    /* 글자가 줄바꿈되어 깨지지 않도록 최소 너비 확보 */
    display: flex;       /* 플렉스 박스로 정렬 안정화 */
    flex-direction: column;
    justify-content: center;
}
.maint_box .price_box .label {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 10px; /* 가격과의 간격 확보 */
    font-weight: 500;
}
.maint_box .price_box .cost {
    font-size: 40px;     /* 폰트 크기 조절 (36px -> 40px) */
    font-weight: 700;
    color: white;
    line-height: 1;      /* 줄 간격을 1로 설정하여 위아래 여백 제거 */
    white-space: nowrap; /* 가격이 줄바꿈되지 않도록 강제 */
}
.maint_box .price_box .cost span {
    font-size: 20px;
    margin-left: 2px;
    font-weight: 500;
}
.maint_box .price_box .cost small {
    font-size: 13px;
    font-weight: 400;
    color: #999;
    display: block;      /* 블록 요소로 만들어 줄바꿈 처리 */
    margin-top: 8px;     /* 기존 -5px에서 8px로 변경하여 겹침 해결 */
    letter-spacing: 0;   /* 자간 초기화 */
}

.benefit_list { padding-left: 30px; }
.benefit_list li { margin-bottom: 10px; font-size: 15px; }
.benefit_list li span { color: #4FC3F7; margin-right: 8px; }


/* Responsive */
@media (max-width: 1024px) {
    .pricing_grid { flex-wrap: wrap; }
    .price_card { width: 48%; flex: none; }
    .maint_box { flex-direction: column; text-align: center; }
    .maint_box .text_box { width: 100%; margin-bottom: 30px; }
    .maint_box .info_box { width: 100%; flex-direction: column; }
    .maint_box .price_box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-right: 0; padding-bottom: 20px; margin-bottom: 20px; width: 100%;}
    .benefit_list { padding-left: 0; }
}

@media (max-width: 768px) {
    .price_card { width: 100%; }
    .sec_hero h2 { font-size: 36px; }
    .sec_hero p { font-size: 16px; word-break: keep-all; }
}