/* ===== 노인장기요양보험 페이지 전용 스타일 ===== */

/* 히어로 */
.ins-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #0376b0 60%, #014f7a 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.ins-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(0,166,80,0.15);
  border-radius: 50%;
}

.ins-hero-inner { position: relative; }

.ins-hero-badge {
  display: inline-block;
  background: rgba(0,166,80,0.25);
  color: #7fe8b0;
  border: 1px solid rgba(0,166,80,0.5);
  border-radius: 20px;
  padding: 0.3rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.ins-hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.ins-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.ins-hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.ins-stat .num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #7fe8b0;
}

.ins-stat .lbl {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 767px) {
  .ins-hero h1 { font-size: 1.7rem; }
  .ins-hero { padding: 50px 0 40px; }
  .ins-hero-stats { gap: 1.5rem; }
}

/* 빠른 이동 바 */
.ins-nav-bar {
  background: #fff;
  border-bottom: 2px solid var(--light-blue);
  position: sticky;
  top: 60px;
  z-index: 900;
  overflow-x: auto;
}

.ins-nav-list {
  display: flex;
  gap: 0;
  white-space: nowrap;
  padding: 0;
}

.ins-nav-list a {
  display: inline-block;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.ins-nav-list a:hover,
.ins-nav-list a.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* 섹션 공통 */
.ins-section {
  padding: 70px 0;
  background: #fff;
}

.ins-section-gray { background: var(--light-gray); }

.ins-section-blue {
  background: linear-gradient(135deg, var(--blue), #014f7a);
  color: #fff;
}

.ins-section-title {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.ins-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(2,87,133,0.12);
  line-height: 1;
}

.ins-section-title h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

/* 제도 개요 */
.ins-lead {
  font-size: 1rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: 1.5rem;
}

.ins-highlight-box {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: var(--light-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
}

.ins-highlight-box i {
  color: var(--blue);
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ins-highlight-box p { margin: 0; font-size: 0.9rem; color: var(--blue); font-weight: 700; }

.ins-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ins-feature {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.2rem;
}

.ins-feature i {
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
  display: block;
}

.ins-feature h6 {
  font-weight: 800;
  color: var(--dark);
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.ins-feature p { font-size: 0.82rem; color: var(--gray); margin: 0; }

/* 카드 공통 */
.ins-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  height: 100%;
}

.ins-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ins-card-icon.blue { background: var(--light-blue); color: var(--blue); }
.ins-card-icon.green { background: var(--light-green); color: var(--green); }

.ins-card h5 { font-weight: 800; color: var(--dark); margin-bottom: 0.8rem; }

.ins-list { padding-left: 1.2rem; margin-bottom: 1rem; }
.ins-list li { font-size: 0.9rem; color: #444; line-height: 1.7; margin-bottom: 0.2rem; }

.ins-sub-box {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.ins-sub-box strong { font-size: 0.82rem; color: var(--blue); display: block; margin-bottom: 0.5rem; }

.ins-disease-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.ins-disease-tags span {
  background: var(--light-blue);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
}

/* 공지 박스 */
.ins-notice {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  border-radius: 0 10px 10px 0;
  padding: 1rem 1.2rem;
}

.ins-notice i { color: #ffc107; font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.ins-notice p { margin: 0; font-size: 0.87rem; color: #555; line-height: 1.65; }

/* 등급 카드 */
.grade-card {
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
  border-top: 5px solid transparent;
  background: #fff;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}

.grade-1 { border-top-color: #dc3545; }
.grade-2 { border-top-color: #fd7e14; }
.grade-3 { border-top-color: #ffc107; }
.grade-4 { border-top-color: #20c997; }
.grade-5 { border-top-color: var(--green); }
.grade-cog { border-top-color: var(--blue); }

.grade-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 10px;
  background: var(--light-blue);
  color: var(--blue);
  margin-bottom: 0.6rem;
}

.grade-badge.cog { background: var(--light-blue); color: var(--blue); }
.grade-1 .grade-badge { background: #fde8ea; color: #dc3545; }
.grade-2 .grade-badge { background: #fff0e0; color: #fd7e14; }
.grade-3 .grade-badge { background: #fff8d6; color: #d48806; }
.grade-4 .grade-badge { background: #d4f4ea; color: #20c997; }
.grade-5 .grade-badge { background: var(--light-green); color: var(--green); }

.grade-card h6 { font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.grade-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.6; margin-bottom: 0.8rem; }

.grade-score {
  font-size: 0.78rem;
  color: var(--gray);
  background: var(--light-gray);
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
}

.grade-score strong { color: var(--blue); }

/* 급여 종류 */
.benefit-group { background: #fff; border-radius: 16px; padding: 1.8rem; box-shadow: 0 3px 15px rgba(0,0,0,0.05); }

.benefit-group-title {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--light-blue);
}

.benefit-group-title.blue { color: var(--blue); border-bottom-color: var(--light-blue); }
.benefit-group-title.green { color: var(--green); border-bottom-color: var(--light-green); }
.benefit-group-title.gray { color: var(--gray); border-bottom-color: #eee; }
.benefit-group-title small { font-weight: 400; font-size: 0.85rem; margin-left: 0.3rem; }

.benefit-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.8rem;
  border-radius: 10px;
  background: var(--light-gray);
  height: 100%;
}

.benefit-item > i { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.benefit-item h6 { font-weight: 800; font-size: 0.9rem; color: var(--dark); margin-bottom: 0.3rem; }
.benefit-item p { font-size: 0.82rem; color: var(--gray); margin: 0; line-height: 1.5; }

/* 본인부담금 */
.copay-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  height: 100%;
}

.copay-card h5 { font-weight: 800; color: var(--blue); margin-bottom: 1.2rem; }

.copay-row {
  display: grid;
  grid-template-columns: 100px 60px 1fr;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.88rem;
}

.copay-row.free { background: #f0fdf4; border-radius: 8px; padding: 0.7rem 0.5rem; border: none; margin-top: 0.3rem; }

.copay-type { font-weight: 700; color: var(--dark); }
.copay-rate { font-size: 1.3rem; font-weight: 800; color: var(--blue); }
.copay-rate.free-rate { color: var(--green); }
.copay-desc { color: var(--gray); font-size: 0.82rem; }

.copay-reduce-row {
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.copay-reduce-row:last-child { border: none; }

.reduce-badge {
  display: inline-block;
  background: #fde8ea;
  color: #dc3545;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.2rem 0.7rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.copay-reduce-row ul { padding-left: 1.2rem; margin: 0; }
.copay-reduce-row li { font-size: 0.84rem; color: #444; line-height: 1.7; }

/* 신청 방법 */
.apply-step {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  backdrop-filter: blur(5px);
}

.apply-step-num {
  width: 44px; height: 44px;
  background: rgba(0,166,80,0.35);
  color: #7fe8b0;
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.8rem;
}

.apply-step h6 { color: #fff; font-weight: 800; margin-bottom: 0.5rem; }
.apply-step p { color: rgba(255,255,255,0.8); font-size: 0.84rem; line-height: 1.6; margin: 0; }

.apply-info-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 1.5rem;
  height: 100%;
}

.apply-info-card h6 { color: #7fe8b0; font-weight: 800; margin-bottom: 0.8rem; }
.apply-info-card ul { padding-left: 1.2rem; margin: 0; }
.apply-info-card li { color: rgba(255,255,255,0.85); font-size: 0.87rem; line-height: 1.7; margin-bottom: 0.2rem; }

/* 차이점 테이블 */
.diff-table-wrap { overflow-x: auto; }

.diff-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.diff-table thead tr { background: var(--blue); color: #fff; }
.diff-table th {
  padding: 1rem 1.2rem;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
}

.diff-table td {
  padding: 0.85rem 1.2rem;
  font-size: 0.87rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
}

.diff-table tr:last-child td { border: none; }
.diff-table tr:nth-child(even) { background: var(--light-gray); }

.diff-label {
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  text-align: center;
}

/* CTA 섹션 */
.ins-cta {
  background: linear-gradient(135deg, var(--green), #00843f);
  padding: 70px 0;
  color: #fff;
}

.ins-cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.ins-cta h3 { font-size: 1.7rem; font-weight: 800; margin-bottom: 0.8rem; }
.ins-cta p { color: rgba(255,255,255,0.85); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.2rem; }

.ins-cta-list { list-style: none; padding: 0; margin: 0; }
.ins-cta-list li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.9rem; color: rgba(255,255,255,0.9);
  margin-bottom: 0.4rem;
}
.ins-cta-list li i { color: #7fe8b0; }

.ins-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: #fff;
  color: var(--green);
  border-radius: 14px;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: 800;
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  transition: all 0.2s;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.ins-cta-btn i { font-size: 1.3rem; }
.ins-cta-btn span { font-size: 1.2rem; }
.ins-cta-btn small { font-size: 0.75rem; color: var(--gray); font-weight: 400; }
.ins-cta-btn:hover { background: var(--blue); color: #fff; }
.ins-cta-btn:hover small { color: rgba(255,255,255,0.7); }

/* navbar active 스타일 (이 페이지에서) */
.navbar-nav .nav-link.active {
  color: var(--blue);
  font-weight: 800;
}
