/* 디자인 토큰 - 색상과 여백을 여기서 수정하세요 */
:root {
  --brand: #1f6fff;
  --brand-dark: #0051e0;
  --brand-light: #e8f0ff;
  --success: #28a745;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #007bff;
  --purple: #6f42c1;
  --orange: #fd7e14;
  
  --text: #212529;
  --text-muted: #6c757d;
  --text-light: #868e96;
  
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --bg-gray: #e9ecef;
  --bg-section-1: #fbfcfd;
  --bg-section-2: #f5f7fa;
  --bg-section-3: #f0f4f8;
  
  --border: #dee2e6;
  --shadow: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 12px rgba(0,0,0,0.12);
  
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --container: 1200px;
  --spacing: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 기본 리셋 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px; /* 고정 헤더 + 서브네비 높이만큼 스크롤 오프셋 */
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  padding-top: 0; /* JS로 동적 계산 */
}

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

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--brand-dark);
}

/* 컨테이너 */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 3vw, 2rem);
}

/* 버튼 */
.btn {
  display: inline-block;
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-size: clamp(0.8rem, 2.5vw, 1rem);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  will-change: transform;
  white-space: nowrap;
  word-break: keep-all;
}

.btn-primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* 헤더 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1001;
  height: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
}

.logo a {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  text-decoration: none;
  color: inherit;
}

.logo img {
  height: clamp(30px, 8vw, 50px);
  width: auto;
  max-width: clamp(120px, 30vw, 200px);
  object-fit: contain;
}

.logo-text {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  color: #212529 !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-start;
}

.logo-text-main {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  color: #212529 !important;
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #1f6fff 0%, #0052d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-text-sub {
  font-size: clamp(0.65rem, 2vw, 0.75rem);
  font-weight: 500;
  color: #6c757d !important;
  letter-spacing: 0.05em;
  line-height: 1;
  border-left: 2px solid #1f6fff;
  padding-left: 0.5rem;
  margin-left: 0.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: clamp(0.25rem, 1vw, 0.5rem);
  box-shadow: var(--shadow);
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  display: block;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.75rem, 2.5vw, 1.25rem);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  font-size: clamp(0.85rem, 2vw, 1rem);
}

.nav-menu a:hover {
  color: var(--brand);
  background: white;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.nav-menu a.active {
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow);
}

.header-cta {
  margin-left: 2rem;
}

/* 섹션별 배경색 구분 */
.sub-nav {
  background: var(--bg-section-1) !important;
}

.hero {
  background-image: url('assets/images/b7f4fd81d147b0c0febb22f073b1365c.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: clamp(2rem, 8vw, 4rem) 0;
  position: relative;
}

/* 텍스트 가독성을 위한 오버레이 */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(232, 242, 255, 0.7) 0%, rgba(240, 247, 255, 0.7) 100%);
  pointer-events: none;
}

/* 히어로 콘텐츠를 오버레이 위로 */
.hero .container {
  position: relative;
  z-index: 1;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  body {
    padding-top: 110px; /* 모바일에서는 헤더와 서브네비가 더 작음 */
  }

  html {
    scroll-padding-top: 110px;
  }

  .sub-nav {
    top: 60px; /* 모바일 헤더 높이 */
  }

  .hero {
    background-position: center center;
    background-attachment: scroll;
  }

  .hero::before {
    background: linear-gradient(135deg, rgba(232, 242, 255, 0.8) 0%, rgba(240, 247, 255, 0.8) 100%);
  }

  .sub-nav-menu {
    justify-content: center;
    padding: 0;
    display: flex;
  }

  .sub-nav-btn {
    flex: 0 0 20%;
    width: 20%;
    min-width: 0;
    padding: 6px 0.1rem;
    white-space: nowrap;
    border-right: 1px solid #e0e0e0;
  }

  .sub-nav-btn:last-child {
    border-right: none;
  }

  .sub-nav-text {
    font-size: 0.48rem;
    letter-spacing: -0.05em;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* 더 작은 모바일 화면 대응 */
@media (max-width: 480px) {
  .sub-nav-btn {
    padding: 5px 0.02rem;
  }

  .sub-nav-text {
    font-size: 0.45rem;
    letter-spacing: -0.05em;
  }
}

/* 아주 작은 화면 대응 */
@media (max-width: 360px) {
  .sub-nav-text {
    font-size: 0.45rem;
    letter-spacing: -0.06em;
  }
}

.self-diagnosis {
  background: #ffffff;
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.document-samples {
  background: #f8f9fa;
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.process-guide {
  background: #ffffff;
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.proof {
  background: #f0f4f8;
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.reviews-section {
  background: #ffffff;
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.pricing {
  background: #fafbfc;
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.kakao-banner {
  background: linear-gradient(135deg, #fff9e6 0%, #fffdf5 100%);
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.faq {
  background: #ffffff;
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.final-cta {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
  padding: clamp(2rem, 8vw, 4rem) 0;
}

/* 히어로 섹션 */
/* 서브 네비게이션 - 헤더 바로 아래 붙도록 */
.sub-nav {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  background: white;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 0;
}

.sub-nav .container {
  padding: 0;
  max-width: 100%;
}

.sub-nav-menu {
  display: flex;
  justify-content: stretch;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.sub-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px clamp(0.4rem, 2vw, 1.2rem);
  text-decoration: none;
  color: var(--text-light);
  font-size: clamp(0.75rem, 1.6vw, 0.9rem);
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
  border-bottom: clamp(2px, 0.5vw, 3px) solid transparent;
  border-right: 1px solid #e0e0e0;
  flex: 1;
  text-align: center;
}

.sub-nav-btn:last-child {
  border-right: none;
}

.sub-nav-btn:hover {
  color: var(--brand);
  background: rgba(52, 152, 219, 0.05);
}

.sub-nav-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 600;
}

.sub-nav-btn.active:hover {
  background: rgba(52, 152, 219, 0.05);
}

/* 아이콘은 사용하지 않음 */
.sub-nav-icon {
  display: none;
}

.sub-nav-text {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  font-weight: inherit;
  white-space: nowrap;
}

/* 서브 네비게이션 모바일 지원 - 기본 스타일로 충분히 반응형 처리됨 */

/* 페이지 공통 스타일 */
.page-hero {
  background: var(--bg-light);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
  text-align: center;
}

.page-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  color: var(--text-muted);
  text-align: center;
}

.reviews-stats {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 2rem);
  margin-top: 2rem;
  flex-wrap: nowrap;
  padding: 0 clamp(0.5rem, 2vw, 2rem);
}

.stat-item {
  text-align: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 0;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-number {
  display: block;
  font-size: clamp(1.2rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.stat-label {
  font-size: clamp(0.7rem, 2vw, 0.95rem);
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1rem, 3vw, 2rem);
}

.content-card {
  background: var(--bg);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.content-card h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  color: var(--brand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  margin-top: clamp(1rem, 3vw, 2rem);
}

.service-card {
  background: var(--bg);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.service-icon {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.service-card h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  color: var(--text);
}

.service-card ul {
  text-align: left;
  margin-top: 1rem;
}

.service-card ul li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--brand);
}

/* 팁 페이지 스타일 */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tip-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.tip-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.tip-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--brand);
}

.tip-card ul {
  margin-top: 1rem;
}

.tip-card ul li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.tip-card ul li strong {
  color: var(--brand);
}

.accordion-item {
  background: white;
  border: 2px solid transparent;
  border-radius: var(--radius-xl);
  margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.accordion-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 111, 255, 0.15);
  border-color: var(--brand-light);
}

.accordion-item.active {
  border-color: var(--brand);
  box-shadow: 0 8px 20px rgba(31, 111, 255, 0.2);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.5rem, 3vw, 2rem);
  cursor: pointer;
  border-radius: var(--radius-xl);
  transition: all 0.3s ease;
}

.accordion-header h3 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}

.accordion-item:hover .accordion-header h3,
.accordion-item.active .accordion-header h3 {
  color: var(--brand);
}

.accordion-toggle {
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  font-weight: 300;
  color: var(--brand);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2rem, 4vw, 2.5rem);
  height: clamp(2rem, 4vw, 2.5rem);
  background: var(--brand-light);
  border-radius: 50%;
  flex-shrink: 0;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(45deg);
  background: var(--brand);
  color: white;
}

.accordion-content {
  padding: 0 clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 3vw, 1.75rem);
  display: none;
  animation: fadeIn 0.3s ease;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  margin: 0 clamp(1.5rem, 3vw, 2rem);
}

.accordion-item.active .accordion-content {
  display: block;
}

.hero {
  padding: var(--spacing-xl) 0;
}

.hero-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-tagline {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(1.1rem, 5vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: pre-line;
  text-align: center;
}

.hero-subcopy {
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: pre-line;
  text-align: center;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.hero-cta .btn {
  flex: 1;
  max-width: 250px;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  white-space: nowrap;
}

.hero-badges {
  display: flex;
  gap: clamp(0.3rem, 2vw, 1rem);
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.hero-badge {
  padding: clamp(0.3rem, 1vw, 0.5rem) clamp(0.5rem, 2vw, 1rem);
  background: var(--bg);
  border-radius: var(--radius-xl);
  font-size: clamp(0.65rem, 1.5vw, 0.85rem);
  font-weight: 500;
  white-space: nowrap;
  flex: 0 1 auto;
  box-shadow: var(--shadow);
}

.hero-visual {
  display: none;
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* 섹션 공통 */
section {
  padding: clamp(2rem, 8vw, 4rem) 0;
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

.section-title {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  word-break: keep-all;
  text-align: center;
}

.section-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.4;
  word-break: keep-all;
  text-align: center;
}

/* 가격 섹션 - 새로운 구현 (잘림 방지) */
.pricing {
  background: var(--bg-light);
  padding: 3rem 0.25rem;
  overflow: visible;
}

.pricing-grid {
  display: flex;
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
  justify-content: center;
  padding: 0;
}

.pricing-card {
  flex: 1;
  max-width: 400px;
  min-width: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 0.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.popular {
  border: 2px solid var(--brand);
  box-shadow: 0 4px 20px rgba(31, 111, 255, 0.1);
}

.pricing-badge {
  display: none;
}

/* 타이틀 영역 */
.pricing-header {
  text-align: center;
  margin-bottom: 1rem;
}

.pricing-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.pricing-header-cta {
  margin: 0.75rem 0 1rem 0;
}

.pricing-header-cta .btn {
  padding: 0.6rem 1.5rem;
  font-size: 14px;
}

.pricing-subtitle {
  display: none;
}

/* 가격 영역 */
.pricing-price-wrapper {
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}

.pricing-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.1rem;
}

/* 기능 리스트 */
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  flex: 1;
}

.pricing-feature {
  padding: 0.4rem 0;
  font-size: 14.3px;
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  line-height: 1.4;
  word-break: keep-all;
}

.pricing-feature::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  flex-shrink: 0;
  margin-right: 0.1rem;
}

/* 카테고리 헤더 스타일 */
.pricing-feature.category-header {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--brand-light);
  padding: 0.6rem 0.8rem;
  margin: 0.8rem 0 0.4rem 0;
  border-radius: var(--radius);
  border-left: 4px solid var(--brand);
}

.pricing-feature.category-header::before {
  content: "";
  display: none;
}

/* 제한사항 */
.pricing-limitations {
  list-style: none;
  padding: 0.5rem 0 0 0;
  margin: 0 0 1rem 0;
  border-top: 1px solid var(--border);
}

.pricing-limitation {
  padding: 0.2rem 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.pricing-limitation::before {
  content: "• ";
}

/* CTA 영역 */
.pricing-footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
}

.pricing-cta {
  width: 100%;
  margin-bottom: 0;
}

.pricing-cta .btn {
  width: 100%;
  padding: 0.75rem;
  font-size: 15px;
}

.pricing-guarantee {
  display: none;
}

/* 증빙 슬라이더 (새로운 스타일) */
.proof {
  background: var(--bg);
  padding: var(--spacing-xxl) 0;
}

/* 새로운 슬라이더 구현 */
.proof-slider-new {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
}

.proof-slides {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
}

.proof-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.proof-slide.active {
  opacity: 1;
}

.proof-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.proof-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.proof-btn-prev,
.proof-btn-next {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.2s;
  box-shadow: var(--shadow);
}

.proof-btn-prev:hover,
.proof-btn-next:hover {
  background: white;
  transform: scale(1.1);
}

.proof-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.proof-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}

.proof-dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .proof-slides {
    height: 350px;
  }

  .proof-btn-prev,
  .proof-btn-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* 기존 슬라이더 스타일 (나중에 제거 예정) */
.slider {
  position: relative;
  overflow: visible;
  padding: 2rem 0;
  max-width: 100%;
}

.slider-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  width: 100%;
}

.slider-container {
  display: flex;
  gap: 0;
  transition: transform 0.4s ease;
  -webkit-transform: translateZ(0); /* 하드웨어 가속 */
  transform: translateZ(0);
}

.slider-slide {
  min-width: 100%;
  flex: 0 0 100%; /* flex-shrink와 flex-basis를 명시적으로 설정 */
  width: 100%;
}

.slider-slide img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow);
  background: white;
}

@media (max-width: 768px) {
  .slider-slide img {
    height: 350px;
    width: 100%;
    max-width: 100%;
    object-fit: contain;
  }

  .slider-slide {
    padding: 0;
    width: 100vw; /* viewport width 사용 */
    min-width: 100vw;
    flex: 0 0 100vw;
  }

  .slider-wrapper {
    width: 100vw;
    margin-left: calc(-1 * (100vw - 100%) / 2);
  }
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-prev:hover,
.slider-next:hover {
  background: white;
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 1rem;
}

.slider-next {
  right: 1rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dots .dot:hover {
  background: var(--brand);
  transform: scale(1.2);
}

.slider-dots .dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 5px;
}

/* 카카오 배너 */
.kakao-banner {
  background: var(--brand-light);
}

.kakao-banner-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.kakao-banner-content {
  width: 100%;
  max-width: 600px;
}

.kakao-banner-visual {
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kakao-banner-visual img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 데스크탑 레이아웃 */
@media (min-width: 768px) {
  .kakao-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
    align-items: center;
    gap: 4rem;
  }

  .kakao-banner-content {
    padding-left: 2rem;
  }

  .kakao-banner-visual img {
    max-width: 500px;
  }
}

.kakao-banner-title {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  white-space: pre-line;
  word-break: keep-all;
}

.kakao-banner-caption {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.6;
  white-space: pre-line;
  word-break: keep-all;
}

.kakao-banner-cta {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  display: inline-block;
}

/* 3가지 특징 */
.features3 {
  background: var(--bg-light);
}

.features3-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.feature3-card {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature3-icon {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.feature3-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
}

.feature3-text {
  color: var(--text-muted);
}

/* 소개 섹션 */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: var(--spacing-lg);
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  display: block;
}

.about-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* FAQ */
.faq {
  background: var(--bg-light);
}

.faq-list {
  max-width: min(100%, 800px);
  margin: 0 auto;
  padding: 0 clamp(0.5rem, 2vw, 1rem);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: all 0.2s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  padding: clamp(1.25rem, 3vw, 1.5rem) 0;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  font-size: clamp(0.95rem, 2.5vw, 1.125rem);
  color: var(--text);
  font-weight: 500;
  text-align: left;
}

.faq-item:hover .faq-question {
  color: var(--brand);
}

.faq-item.active .faq-question {
  color: var(--brand);
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-light);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(135deg);
  color: var(--brand);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: clamp(1.25rem, 3vw, 1.5rem);
}

.faq-answer p {
  margin: 0;
  padding: 0;
  color: var(--text-muted);
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.6;
}

/* 콘텐츠 그리드 */
.contents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.content-card {
  padding: var(--spacing-lg);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.content-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.content-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.content-text {
  color: var(--text-muted);
}

/* 진행 단계 */
.steps {
  background: var(--bg-light);
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  position: relative;
}

.step-item {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2rem);
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.step-number {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.step-icon {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
}

.step-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 600;
  margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
}

.step-text {
  color: var(--text-muted);
}

/* 최종 CTA */
.final-cta {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.final-cta-title {
  font-size: clamp(1.2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  word-break: keep-all;
  white-space: pre-line;
}

.final-cta-subtitle {
  font-size: clamp(0.9rem, 3vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.4;
  word-break: keep-all;
  white-space: pre-line;
}

/* 푸터 */
.footer {
  background: white;
  color: var(--text);
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(1rem, 3vw, 2rem);
  border-top: 1px solid #f0f0f0;
}

.footer-inner {
  display: block;
  margin-bottom: clamp(1rem, 3vw, 2rem);
  text-align: left;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(0.75rem, 2vw, 1rem);
  text-align: left;
}

.footer-logo {
  height: clamp(30px, 7vw, 45px);
  width: auto;
  max-width: clamp(100px, 30vw, 180px);
  object-fit: contain;
}

.footer-description {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: #000;
  opacity: 1;
  text-align: left;
}

.footer-org,
.footer-address,
.footer-reg,
.footer-ceo,
.footer-phone {
  opacity: 0.7;
  margin-bottom: 0.5rem;
  font-style: normal;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: left;
}

.footer-info {
  display: flex;
  align-items: flex-start;
}

.footer-contact p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  opacity: 0.8;
  color: var(--text-muted);
}

.footer-contact p strong {
  font-weight: 600;
  opacity: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.footer-links {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.footer-links a {
  color: var(--text);
  opacity: 0.7;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--brand);
}

.footer-bottom {
  text-align: center;
  padding-top: clamp(1rem, 3vw, 2rem);
  border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-copyright {
  opacity: 0.5;
  color: var(--text-muted);
}

/* 플로팅 버튼 */
.floating-button {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(31, 111, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
}

.floating-button:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 30px rgba(31, 111, 255, 0.5);
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
}

.floating-button-text {
  white-space: nowrap;
}

/* 모바일 전용 스마트 스티커 CTA */
.mobile-smart-sticker {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 20px;
  cursor: pointer;
  display: none; /* 기본적으로 숨김 */
  align-items: center;
  text-decoration: none;
  z-index: 1001;
  animation: pulse 3s infinite;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(31, 111, 255, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-smart-sticker:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 6px 25px rgba(31, 111, 255, 0.5);
  color: white;
}

.smart-sticker-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.smart-sticker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.smart-sticker-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.smart-sticker-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.smart-sticker-subtitle {
  font-size: 12px;
  opacity: 0.9;
  line-height: 1.2;
  margin: 0;
}

/* 자가진단 섹션 */
.self-diagnosis {
  background: var(--bg);
  padding: var(--spacing-xl) 0;
}

.diagnosis-categories {
  display: flex;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  padding: 0 clamp(0.75rem, 3vw, 1.5rem);
  box-sizing: border-box;
}

.diagnosis-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.3rem, 1vw, 0.5rem);
  padding: clamp(0.75rem, 2vw, 1rem);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: clamp(80px, 20vw, 100px);
  max-width: clamp(110px, 25vw, 140px);
  flex: 1;
  box-sizing: border-box;
}

.diagnosis-category:hover,
.diagnosis-category.active {
  border-color: var(--brand);
  background: var(--brand-light);
}

.category-icon {
  font-size: clamp(1.2rem, 4vw, 2rem);
}

.category-title {
  font-weight: 600;
  font-size: clamp(0.65rem, 2vw, 0.9rem);
  text-align: center;
  word-break: keep-all;
}

.diagnosis-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.diagnosis-questions {
  margin-bottom: 2rem;
}

.diagnosis-question {
  margin-bottom: 2rem;
}

.diagnosis-question.active {
  animation: slideIn 0.3s ease-out;
}

/* 진행도 표시 */
.question-progress {
  margin-bottom: 2rem;
}

.progress-text {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-gray);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* 질문 네비게이션 */
.question-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.question-navigation .btn {
  min-width: 100px;
}

.question-navigation .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--bg-gray);
  color: var(--text-muted);
  border-color: var(--border);
}

.question-navigation .btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

.question-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.question-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f9fbff; /* 연한 파란색 배경 */
}

.option-label:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}

.option-label input {
  margin: 0;
}

.option-text {
  font-size: 0.95rem;
}

.diagnosis-result {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--success-light, #f0f9ff);
  border-radius: var(--radius-lg);
  border: 2px solid var(--success, #10b981);
}

.result-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.result-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--success, #10b981);
}

.result-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* 서류 샘플 섹션 */
.document-samples {
  padding: var(--spacing-xl) 0;
}

.documents-grid {
  margin-top: clamp(1.5rem, 4vw, 3rem);
}

/* 서류 슬라이더 */
.documents-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.documents-slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.documents-slider-container {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.document-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 60px; /* 좌우 버튼 공간 확보 */
}

@media (max-width: 768px) {
  .document-slide {
    padding: 0 50px; /* 모바일에서는 조금 작게 */
  }
}

.document-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.document-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: white;
  border-radius: var(--radius);
}

.document-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
}

.sample-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--brand);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
}

.document-content {
  padding: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
}

.document-title {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  margin-bottom: clamp(0.3rem, 1vw, 0.5rem);
  text-align: center;
}

.document-description {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.document-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.document-features li {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.document-features li:before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
  margin-right: 0.5rem;
}

.document-preview {
  width: 100%;
}

/* 서류 슬라이더 네비게이션 */
.documents-slider-prev,
.documents-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.documents-slider-prev:hover,
.documents-slider-next:hover {
  background: white;
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-50%) scale(1.1);
}

.documents-slider-prev {
  left: 1rem;
}

.documents-slider-next {
  right: 1rem;
}

/* 서류 슬라이더 도트 네비게이션 */
.documents-slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.documents-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.documents-slider-dots .dot:hover {
  background: var(--brand);
  transform: scale(1.2);
}

.documents-slider-dots .dot.active {
  background: var(--brand);
  width: 24px;
  border-radius: 5px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .documents-slider-prev,
  .documents-slider-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .documents-slider-prev {
    left: 0.5rem;
  }

  .documents-slider-next {
    right: 0.5rem;
  }
}

/* 프로세스 가이드 */
.process-guide {
  padding: var(--spacing-xl) 0;
}

.process-guide .section-title {
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.process-guide .section-subtitle {
  margin-bottom: 2rem;
}

.process-timeline {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(0.75rem, 1.5vw, 1rem) clamp(0.5rem, 1.5vw, 0.75rem);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.process-step .step-number {
  width: clamp(1.5rem, 3vw, 1.8rem);
  height: clamp(1.5rem, 3vw, 1.8rem);
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 600;
  margin: 0 auto 0.4rem auto;
}


.step-content {
  text-align: center;
  padding: 0 0.5rem;
}

.step-title {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 600;
  margin-bottom: 0.25rem;
  line-height: 1.4;
  word-break: keep-all;
  text-align: center;
}

.step-description {
  color: var(--text-muted);
  font-size: clamp(0.8rem, 2vw, 0.875rem);
  line-height: 1.5;
  margin: 0;
  word-break: keep-all;
  text-align: center;
}

.step-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: var(--bg);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.step-detail {
  font-size: 0.9rem;
}

.step-detail strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
}

/* 후기 섹션 */
.reviews-section {
  padding: var(--spacing-xl) 0;
  background: var(--bg-light);
}

.reviews-samples {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.review-sample {
  background: white;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-name {
  font-weight: 600;
}

.reviewer-branch {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--brand-light);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  display: inline-block;
  text-align: center;
  min-width: 80px;
}

.reviewer-category {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-rating .stars {
  color: #fbbf24;
  font-size: 1.1rem;
}

.review-text {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.review-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-cta {
  text-align: center;
  margin-top: 3rem;
}


/* 후기 페이지 전용 스타일 */
.reviews-hero {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.reviews-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.reviews-hero p {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* 위에서 이미 정의됨 - 중복 제거 */

.reviews-filter {
  background: white;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--border);
  background: white;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

@media (max-width: 768px) {
  .filter-tabs {
    gap: 0.5rem;
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .filter-tab {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}

.reviews-list {
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  justify-content: center;
  max-width: 400px;
}

.review-card {
  background: white;
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-2px);
}

.review-card .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.review-card .review-content {
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.review-card .review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.review-package {
  background: var(--brand-light);
  color: var(--brand);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
}

.load-more {
  text-align: center;
  margin-top: 3rem;
}

.review-write-cta {
  background: var(--brand-light);
  padding: 4rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* 가격 카드 개선 - 삭제됨 (line 865에 통합) */

/* 애니메이션 */
.animate-in {
  animation: fadeInUp 0.6s ease-out;
  will-change: opacity, transform;
}

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

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* 센터 소개 페이지 - 커리큘럼 스타일 */
.curriculum-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #e8f4fd 0%, #f0f7ff 100%);
}

.curriculum-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.curriculum-stages {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.curriculum-stage {
  background: white;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

.curriculum-stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.stage-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stage-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.stage-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 111, 255, 0.15);
  border-color: var(--brand-light);
}

.step-number {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step-title {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.step-content {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: clamp(0.85rem, 1.8vw, 0.95rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.step-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
  .curriculum-section {
    padding: 2rem 0;
  }

  .curriculum-stage {
    padding: 1.5rem;
  }

  .stage-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .step-card {
    padding: 1.25rem;
  }

  .stage-number {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

/* 커리큘럼 이미지 스타일 (호환성) */
.curriculum-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.curriculum-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.center-info-image {
  padding: 4rem 0;
  background: #f8f9fa;
}

.info-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.info-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* 반응형 디자인 - 모바일 필수 스타일만 유지 */
@media (max-width: 768px) {
  /* 오버플로우 방지 */
  html, body {
    overflow-x: hidden;
  }


  /* 헤더 모바일 조정 */
  .header-inner {
    justify-content: flex-start;
  }

  .logo {
    justify-content: flex-start;
  }

  /* 네비게이션 모바일 숨김 */
  .nav,
  .nav-menu,
  .header-cta {
    display: none;
  }


  /* 히어로 섹션 모바일 조정 */
  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 250px;
  }

  .hero-visual {
    display: none;
  }

  /* 슬라이더 모바일 조정 */
  .slider-slide {
    min-width: calc(33.333% - 0.17rem);
  }

  .slider-slide img {
    max-height: 250px;
  }
  

  /* 그리드 레이아웃 모바일 조정 */
  .documents-grid,
  .reviews-samples,
  .services-grid,
  .content-grid,
  .features3-grid,
  .steps-timeline {
    grid-template-columns: 1fr;
  }

  /* 가격 카드 모바일 최적화 */
  .pricing {
    padding: 2rem 0.25rem;
  }

  .pricing-grid {
    flex-direction: row;
    gap: 0.25rem;
    padding: 0;
    max-width: 100%;
  }

  .pricing-card {
    max-width: 100%;
    padding: 0.75rem 0.4rem;
  }

  .pricing-header {
    margin-bottom: 0.75rem;
  }

  .pricing-title {
    font-size: 0.825rem;
  }

  .pricing-subtitle {
    font-size: 0.75rem;
  }

  .pricing-price-wrapper {
    margin-bottom: 0.75rem;
  }

  .pricing-price {
    font-size: 1.75rem;
  }

  .pricing-unit {
    font-size: 0.85rem;
  }

  .pricing-features {
    margin-bottom: 0.75rem;
  }

  .pricing-feature {
    font-size: 0.8rem;
    padding: 0.35rem 0;
  }

  .pricing-limitations {
    padding-top: 0.35rem;
    margin-bottom: 0.5rem;
  }


  .question-navigation {
    flex-direction: column;
  }

  .question-navigation .btn {
    width: 100%;
  }


  /* 푸터 모바일 조정 */
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }


  /* 모바일 플로팅 버튼 */
  .mobile-smart-sticker {
    display: flex;
  }

  .floating-button {
    bottom: 1.5rem;
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
  }

  /* 센터 소개 모바일 스타일 */
  .curriculum-section {
    padding: 1.5rem 0;
  }

  .curriculum-image-wrapper {
    padding: 0 1rem;
  }

  .center-info-image {
    padding: 2rem 0;
  }

  .info-image-wrapper {
    padding: 0 1rem;
  }
}




/* 접근성 */
:focus {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

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

/* 이미지 모달 */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  visibility: visible;
}

.image-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.image-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.image-modal.active .image-modal-content {
  transform: scale(1);
}

.image-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  line-height: 1;
  padding: 0;
}

.image-modal-close:hover {
  opacity: 0.7;
}

.image-modal-img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.image-modal-title {
  color: white;
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
}

/* 모바일 모달 조정 */
@media (max-width: 768px) {
  .image-modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }

  .image-modal-close {
    top: -35px;
    font-size: 2rem;
    width: 35px;
    height: 35px;
  }

  .image-modal-img {
    max-height: 85vh;
  }

  .image-modal-title {
    font-size: 0.95rem;
    margin-top: 0.75rem;
  }
}

/* 프린트 */
@media print {
  .header,
  .floating-button,
  .nav-toggle,
  .image-modal {
    display: none;
  }
}