/* ============================================
   기부티켓 - 메인 스타일시트
   Design: Orange & White Premium Theme
   ============================================ */

:root {
  --primary: #FF6B00;
  --primary-light: #FF8C35;
  --primary-dark: #E55A00;
  --primary-ultra-light: #FFF4EC;
  --primary-glow: rgba(255, 107, 0, 0.15);
  --white: #FFFFFF;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-400: #BDBDBD;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;
  --kakao: #FEE500;
  --kakao-dark: #E6C800;
  --success: #4CAF50;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-orange: 0 8px 32px rgba(255, 107, 0, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--gray-200);
  transition: var(--transition);
}

.header-phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.header-phone svg { width: 15px; height: 15px; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--kakao);
  color: var(--gray-900);
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta:hover {
  background: var(--kakao-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(254, 229, 0, 0.5);
}

.header-cta svg { width: 17px; height: 17px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #FF6B00 0%, #FF8C35 35%, #FFB366 70%, #FFF4EC 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Ccircle fill='%23FFFFFF' fill-opacity='0.04' cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 500px; height: 500px;
  background: #FF4500;
  top: -100px; right: -100px;
}

.hero-blob-2 {
  width: 400px; height: 400px;
  background: #FFD700;
  bottom: -80px; left: -80px;
  animation-delay: -4s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(20px,-20px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: center;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: #7FFF00;
  border-radius: 50%;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

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

.hero-title {
  font-size: clamp(32px, 7vw, 60px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-title span {
  background: linear-gradient(135deg, #FFF9C4, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-rates {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-rate-badge {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  text-align: center;
  min-width: 110px;
}

.hero-rate-badge .rate-type {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 4px;
}

.hero-rate-badge .rate-value {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #FFF9C4;
}

.hero-rate-badge .rate-value span {
  font-size: 16px;
  font-weight: 700;
  -webkit-text-fill-color: #FFF9C4;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-kakao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--kakao);
  color: #3C1E1E;
  font-size: 16px;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-kakao:hover {
  background: var(--kakao-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-kakao svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-phone:hover {
  background: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.btn-phone svg { width: 20px; height: 20px; flex-shrink: 0; }

.hero-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

.hero-wave {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ TRUST BAR ============ */
.trust-bar {
  background: var(--gray-900);
  padding: 20px 24px;
}

/* 데스크탑: 한 줄 가로 */
.trust-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  justify-content: space-between;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}

/* 구분선 */
.trust-item + .trust-item {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.trust-item-icon {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item-icon svg {
  width: 14px; height: 14px;
  color: white;
}

/* 태블릿 이하: 3열 그리드, 아이콘+텍스트 세로 정렬 */
@media (max-width: 860px) {
  .trust-bar { padding: 20px 16px; }

  .trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 8px;
  }

  .trust-item {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 12px;
    border-left: none !important;
    padding: 8px 4px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    white-space: normal;
    line-height: 1.3;
  }

  /* 5번째 아이템(누적이용) — 3열 중 마지막 행 가운데 */
  .trust-item:nth-child(4) {
    grid-column: 1;
  }
  .trust-item:nth-child(5) {
    grid-column: 2;
  }

  .trust-item-icon {
    width: 36px; height: 36px;
  }
  .trust-item-icon svg {
    width: 16px; height: 16px;
  }
}

@media (max-width: 400px) {
  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 5번째 아이템 2열 중앙 */
  .trust-item:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 160px;
    margin: 0 auto;
    width: 100%;
  }
}

/* ============ SECTION BASE ============ */
.section {
  padding: 80px 24px;
}

.section-alt {
  background: var(--gray-50);
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-ultra-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--gray-900);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-title em {
  color: var(--primary);
  font-style: normal;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto;
}

/* ============ RATES SECTION ============ */
.rates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.rate-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 2px solid var(--gray-200);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.rate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gray-200);
  transition: var(--transition);
}

.rate-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-orange);
}

.rate-card:hover::before {
  background: var(--primary);
}

.rate-card.featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, var(--white), var(--primary-ultra-light));
  box-shadow: var(--shadow-orange);
}

.rate-card.featured::before {
  background: var(--primary);
}

.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.rate-icon {
  width: 64px; height: 64px;
  background: var(--primary-ultra-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
}

.rate-type-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.rate-examples {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 20px;
  line-height: 1.6;
}

.rate-divider {
  width: 40px;
  height: 2px;
  background: var(--gray-200);
  margin: 0 auto 20px;
}

.rate-percent {
  font-size: 64px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -3px;
  line-height: 1;
  margin-bottom: 6px;
}

.rate-percent sup {
  font-size: 24px;
  letter-spacing: 0;
  font-weight: 800;
  vertical-align: super;
}

.rate-label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.rate-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.rate-tag {
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-ultra-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature-icon-wrap {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-ultra-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.feature-text h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ============ PROCESS ============ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  z-index: 0;
  opacity: 0.3;
}

.process-step {
  text-align: center;
  padding: 24px 20px;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.35);
  position: relative;
}

.step-num::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 0, 0.2);
}

.step-emoji {
  font-size: 22px;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.step-arrow {
  position: absolute;
  top: 48px;
  right: -10px;
  transform: translateY(-50%);
  color: var(--primary);
  opacity: 0.5;
  z-index: 2;
}

/* ============ REVIEWS ============ */
.reviews-section {
  background: var(--gray-900);
  padding: 80px 24px;
}

.reviews-section .section-title {
  color: var(--white);
}

.reviews-section .section-desc {
  color: var(--gray-400);
}

.reviews-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.reviews-live-dot {
  width: 7px; height: 7px;
  background: #FF4444;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

/* 새 후기 슬라이드인 */
@keyframes reviewSlideIn {
  from { opacity: 0; transform: translateY(-18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* 새 후기 오렌지 테두리 페이드아웃 */
@keyframes reviewHighlight {
  0%   { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,107,0,0.2); }
  70%  { border-color: rgba(255,107,0,0.4); box-shadow: none; }
  100% { border-color: rgba(255,255,255,0.07); }
}

.review-card {
  background: #2A2A2A;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.3s, background 0.3s;
}

.review-card:hover {
  border-color: rgba(255, 107, 0, 0.3);
  background: #2F2F2F;
}

/* 새로 추가된 카드 */
.review-card.is-new {
  animation:
    reviewSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both,
    reviewHighlight 4s ease 0.45s forwards;
}

/* NEW 뱃지 */
.review-new-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
  letter-spacing: 0.5px;
}

/* 전체 후기 보기 버튼 */
.reviews-more-btn {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  font-family: inherit;
  letter-spacing: -0.2px;
}

.reviews-more-btn:hover {
  border-color: var(--primary);
  color: var(--primary-light);
  background: rgba(255,107,0,0.08);
}

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s, visibility 0.28s;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #1C1C1C;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 700px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}

.modal-overlay.open .modal-box {
  transform: none;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.modal-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 4px;
}

.modal-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

.modal-close:hover {
  background: rgba(255,107,0,0.15);
  color: var(--primary-light);
}

/* 게시판 리스트 */
.modal-list {
  overflow-y: auto;
  flex: 1;
  padding: 8px 0;
}

.modal-list::-webkit-scrollbar { width: 4px; }
.modal-list::-webkit-scrollbar-track { background: transparent; }
.modal-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.modal-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.18s;
  cursor: default;
}

.modal-row:last-child { border-bottom: none; }

.modal-row:hover { background: rgba(255,255,255,0.03); }

.modal-row-avatar {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.modal-row-body {
  flex: 1;
  min-width: 0;
}

.modal-row-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.modal-row-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.modal-row-type {
  font-size: 11px;
  color: var(--primary-light);
  background: rgba(255,107,0,0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.modal-row-stars {
  color: #FFD700;
  font-size: 11px;
  letter-spacing: 1px;
}

.modal-row-text {
  font-size: 13px;
  color: var(--gray-400);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-row-right {
  text-align: right;
  flex-shrink: 0;
}

.modal-row-amount {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-light);
}

.modal-row-time {
  font-size: 12px;
  color: var(--gray-600);
  margin-top: 3px;
}

/* 페이지네이션 */
.modal-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.page-btn {
  min-width: 36px; height: 36px;
  padding: 0 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--gray-400);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover {
  background: rgba(255,107,0,0.15);
  border-color: rgba(255,107,0,0.3);
  color: var(--primary-light);
}

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

.page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* 모바일 모달 */
@media (max-width: 600px) {
  .modal-overlay { padding: 0; align-items: flex-end; }
  .modal-box {
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    max-width: 100%;
  }
  .modal-row { padding: 12px 16px; gap: 10px; }
  .modal-header { padding: 20px 16px 16px; }
  .modal-row-right { display: none; } /* 모바일에선 우측 숨김 */
  .modal-row-text { white-space: normal; font-size: 12px; }
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviewer-avatar {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.reviewer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.reviewer-type {
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 500;
  background: rgba(255, 107, 0, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 2px;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-stars span {
  color: #FFD700;
  font-size: 13px;
}

.review-amount {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 8px;
}

.review-text {
  font-size: 14px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 12px;
}

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

.review-time {
  font-size: 12px;
  color: var(--gray-600);
}

.review-verified {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
}

.review-verified svg {
  width: 12px; height: 12px;
}

/* ============ REVIEWS GRID (static) ============ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .review-card { padding: 16px; }
  .review-amount { font-size: 15px; }
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.faq-question-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.faq-item.open .faq-question-text {
  color: var(--primary);
}

.faq-icon {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--gray-600);
  font-size: 18px;
  font-weight: 300;
}

.faq-item.open .faq-icon {
  background: var(--primary-ultra-light);
  color: var(--primary);
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-section .section-inner {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-kakao {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--kakao);
  color: #3C1E1E;
  font-size: 17px;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.btn-cta-kakao:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  background: var(--kakao-dark);
}

.btn-cta-kakao svg { width: 22px; height: 22px; }

.btn-cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  padding: 18px 36px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-cta-phone:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

.btn-cta-phone svg { width: 20px; height: 20px; }

/* ============ FOOTER ============ */
.footer {
  background: #111;
  padding: 48px 24px 40px;
  color: var(--gray-600);
}

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

.footer-top {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  margin-bottom: 12px;
}

.footer-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}

.footer-tagline {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 6px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.footer-contact-btn.kakao {
  background: var(--kakao);
  color: #3C1E1E;
}

.footer-contact-btn.kakao:hover {
  background: var(--kakao-dark);
}

.footer-contact-btn.phone {
  background: var(--primary);
  color: var(--white);
}

.footer-contact-btn.phone:hover {
  background: var(--primary-dark);
}

.footer-contact-btn svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-info {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
}

.footer-disclaimer {
  font-size: 11px;
  line-height: 1.7;
  color: #444;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(255, 107, 0, 0.3);
}

.footer-copy {
  font-size: 12px;
  color: #444;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============ FLOATING CTA (Mobile) ============ */
.float-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  gap: 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.float-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  padding: 16px 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: -0.3px;
}

.float-btn.kakao {
  background: var(--kakao);
  color: #3C1E1E;
}

.float-btn.kakao:active { background: var(--kakao-dark); }

.float-btn.phone {
  background: var(--primary);
  color: var(--white);
}

.float-btn.phone:active { background: var(--primary-dark); }

.float-btn svg { width: 20px; height: 20px; }

/* Mobile safe area */
.float-cta {
  padding-bottom: env(safe-area-inset-bottom);
}

/* ============ NOTICE BANNER ============ */
.notice-bar {
  background: var(--primary-ultra-light);
  border-bottom: 1px solid rgba(255, 107, 0, 0.15);
  padding: 10px 24px;
  text-align: center;
}

.notice-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.notice-bar-tag {
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ============ SCROLL TO TOP ============ */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 998;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.scroll-top svg { width: 18px; height: 18px; }

/* ============ ANIMATIONS ============ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .section { padding: 60px 20px; }

  .header-inner { padding: 0 16px; height: 60px; }
  .header-phone { display: none; }

  .hero { padding: 80px 20px 40px; }
  .hero-rates { gap: 8px; }
  .hero-rate-badge { min-width: 95px; padding: 12px 14px; }
  .hero-rate-badge .rate-value { font-size: 24px; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-kakao, .btn-phone { width: 100%; max-width: 320px; justify-content: center; }

  .rates-grid { grid-template-columns: 1fr; }

  .process-steps::before { display: none; }
  .process-steps { gap: 8px; }

  .footer-top { flex-direction: column; gap: 24px; }

  /* Hide desktop CTA in footer area on mobile */
  .section.cta-section .btn-cta-kakao,
  .section.cta-section .btn-cta-phone {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Add bottom padding for float CTA */
  body { padding-bottom: 60px; }
  .footer { padding-bottom: 80px; }

  .scroll-top { bottom: 80px; }

  .reviews-section .section-header { margin-bottom: 32px; }

  .features-grid { grid-template-columns: 1fr; }

  .float-btn { font-size: 14px; }
}

@media (min-width: 769px) {
  .float-cta { display: none; }
}

@media (max-width: 480px) {
  .hero-rates {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }
  .hero-rate-badge { min-width: auto; padding: 10px 8px; }
  .hero-rate-badge .rate-value { font-size: 22px; }
  .hero-rate-badge .rate-type { font-size: 11px; }
}

/* ============ NUMBER COUNTER ANIMATION ============ */
.count-num {
  display: inline-block;
}

/* ============ STATS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: 42px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-unit {
  font-size: 20px;
  font-weight: 700;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}
