/* ===================================================
   main.css — 홈페이지 리뉴얼 스타일
   (home.jsp + header.jsp 인라인 CSS 분리)
   =================================================== */

/* ===== 헤더 추가 스타일 ===== */
.top_strip_banner {
  background: #3dbf17;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
  letter-spacing: 0.3px;
}
.gnb .gnb_point {
  color: #3dbf17 !important;
  font-weight: 700;
}
.gnb .gnb_point:hover {
  opacity: 0.8;
}
.menu_list .menu_point > a {
  color: #3dbf17 !important;
  font-weight: 700;
}

/* ===== 홈페이지 CSS 변수 ===== */
:root {
  --green: #3dbf17;
  --green-dark: #2ea50e;
  --yellow: #ffc93c;
  --text: #222;
  --text-sub: #666;
  --text-light: #999;
  --card-gray: #f7f7f7;
  --line: #e5e5e5;
}

.home-wrap { font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", sans-serif; padding-top:150px; }
.home-wrap a { text-decoration: none; color: inherit; }
.home-wrap ul { list-style: none; padding: 0; margin: 0; }

/* ===== 히어로 배너 이미지 슬라이더 ===== */
.home-hero { padding: 28px 0 0; }
.home-hero .container { max-width: 1140px; }
.hero-grid { display: grid; grid-template-columns: 1.18fr 1fr; gap: 24px; }
.hero-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 360px;
  background: #ddd;
  display: block;
}
/* 슬라이더 래퍼 */
.slider-wrap { position: relative; width: 100%; height: 100%; }
/* 슬라이드 */
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide a { display: block; width: 100%; height: 100%; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 하단 도트 오버레이 */
.slider-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 100%);
  display: flex;
  justify-content: center;
  z-index: 10;
}
/* 도트 */
.hc-dots { display: flex; gap: 7px; align-items: center; }
.hc-dots .dot {
  width: 7px; height: 7px; border-radius: 4px;
  background: rgba(255,255,255,.5);
  border: none; padding: 0; cursor: pointer; transition: .25s;
}
.hc-dots .dot.on { width: 22px; background: #fff; }

/* ===== 로그인 스트립 ===== */
.home-login-strip {
  padding: 34px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-top: 0;
}
.home-login-strip .ls-inner { display: flex; justify-content: space-between; align-items: center; }
.home-login-strip .ls-msg { font-size: 20px; }
.home-login-strip .ls-msg b { font-weight: 800; }
.btn-home-login {
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  width: 180px;
  height: 48px;
  cursor: pointer;
  font-family: inherit;
}
.btn-home-login:hover { background: var(--green-dark); }
.btn-home-logout {
  background: #555;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  width: 180px;
  height: 48px;
  cursor: pointer;
  font-family: inherit;
}
.btn-home-logout:hover { background: #333; }

/* ===== 인기 요금제 ===== */
.home-plans { padding: 80px 0 60px; }
.home-section-head {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 50px;
}
.home-section-head h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin: 0; }
.home-section-head .hs-more { position: absolute; right: 0; font-size: 14px; color: var(--text-sub); text-decoration: none; }
.home-section-head .hs-more:hover { color: var(--text); }

.home-plan-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-plan-card {
  background: var(--card-gray);
  border-radius: 16px;
  padding: 30px 28px;
  transition: .2s;
  display: block;
  color: var(--text);
  text-decoration: none;
}
.home-plan-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.08); color: var(--text); }
.home-plan-card .hpc-carrier { font-size: 13px; font-weight: 600; color: var(--text-sub); margin-bottom: 6px; }
.home-plan-card .hpc-name { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 24px; }
.home-plan-card .hpc-spec { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-sub); margin-bottom: 34px; }
.home-plan-card .hpc-spec li { display: flex; align-items: center; gap: 9px; }
.home-plan-card .hpc-spec svg { width: 16px; height: 16px; flex-shrink: 0; }
.home-plan-card .hpc-price-wrap { text-align: right; }
.home-plan-card .hpc-origin { font-size: 14px; color: #bbb; text-decoration: line-through; display: block; margin-bottom: 2px; }
.home-plan-card .hpc-price { font-size: 15px; font-weight: 700; color: var(--green); }
.home-plan-card .hpc-price strong { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; }

/* ===== 더 알아보기 ===== */
.home-explore { padding: 50px 0 70px; border-top: 1px solid var(--line); }
.home-explore .home-section-head { margin-bottom: 44px; }
.home-explore-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-explore-card {
  border-radius: 16px;
  padding: 28px;
  min-height: 140px;
  position: relative;
  transition: .2s;
  display: block;
  color: var(--text);
  text-decoration: none;
}
.home-explore-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.home-explore-card h4 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.home-explore-card p { font-size: 14px; color: var(--text-sub); margin: 0; }
.home-explore-card .hec-icon { position: absolute; right: 26px; bottom: 22px; }
.home-explore-card .hec-icon svg { width: 44px; height: 44px; fill: var(--green); }
.hec-1 { background: #eef8e9; }
.hec-2 { background: #e8f3ee; }
.hec-3 { background: #e9eef5; }

/* ===== 고객센터 ===== */
.home-cs { padding: 0 0 24px; }
.home-cs h4 { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.home-cs-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.home-cs-box .hcb-tel { font-size: 30px; font-weight: 900; letter-spacing: -0.5px; }
.home-cs-box .hcb-time { font-size: 14px; color: var(--text-sub); }
.home-cs-box .hcb-faq {
  margin-left: auto;
  border: 1px solid var(--green);
  color: var(--green);
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  cursor: pointer;
  font-family: inherit;
}
.home-cs-box .hcb-faq:hover { background: var(--green); color: #fff; }

/* ===== 공지 바 ===== */
.home-notice-bar { padding: 0 0 80px; }
.home-notice-bar a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
}
.home-notice-bar a:hover { background: var(--card-gray); }
.home-notice-bar .hnb-label { font-weight: 800; }
.home-notice-bar .hnb-arrow { margin-left: auto; color: var(--text-light); }

/* ===== 제휴제안 ===== */
.home-partner { background: #ececec; text-align: center; padding: 70px 20px; }
.home-partner h3 { font-size: 26px; font-weight: 800; margin-bottom: 20px; }
.home-partner p { font-size: 15px; color: #444; line-height: 1.7; margin: 0; }
.home-partner .hp-mail { font-weight: 800; margin-top: 4px; }

/* ===== 반응형 ===== */
@media (max-width: 900px) {
  .home-wrap { padding-top:90px; }
  .hero-card { height: 270px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card h2 { font-size: 32px; }
  .hero-card-img img { height: 220px; }
  .home-plan-list { grid-template-columns: 1fr; }
  .home-explore-list { grid-template-columns: 1fr; }
  .home-login-strip .ls-inner { flex-direction: column; gap: 16px; align-items: flex-start; }
  .home-cs-box { flex-wrap: wrap; }
  .home-cs-box .hcb-faq { margin-left: 0; }
}
