/* 가격 페이지 스타일 */
.pricing-main {
  min-height: 100vh;
  background: #f8f9fa;
  padding: 6rem 0 3rem 0; /* 헤더 높이를 고려한 상단 여백 */
}

.pricing-header {
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
  padding: 0 1rem;
}

.pricing-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.pricing-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #666;
}

.pricing-notice {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: #3498db;
  margin-top: 0.2rem;
}

.notice-content {
  text-align: left;
  line-height: 1.6;
  color: #555;
  font-size: 0.95rem;
}

/* 차량 선택기 */
.vehicle-selector {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.vehicle-selector h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.vehicle-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.vehicle-tab {
  padding: 1rem 1.8rem;
  border: 2px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #495057;
  min-width: 120px;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.vehicle-tab:hover {
  border-color: #007bff;
  background: #e3f2fd;
  transform: translateY(-2px);
}

.vehicle-tab.active {
  background: #007bff;
  border-color: #007bff;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.vehicle-tab span {
  font-size: 1.2em;
}

/* 가격 섹션 */
.price-section {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  margin: 0 1rem 2rem 1rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.price-section h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid #007bff;
  text-align: center;
}

/* 가격 테이블 */
.price-table {
  width: 100%;
}

.price-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1rem;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #f8f9fa;
  align-items: center;
  transition: all 0.2s ease;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.price-row:hover:not(.header) {
  background: #f8f9fa;
  transform: translateX(5px);
}

.price-row.header {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.route {
  font-weight: 500;
  color: #2c3e50;
  font-size: 1rem;
}

.distance {
  color: #6c757d;
  font-size: 0.9rem;
  text-align: center;
  background: #f8f9fa;
  padding: 0.3rem 0.6rem;
  border-radius: 15px;
  font-weight: 500;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #007bff;
  text-align: right;
  background: linear-gradient(135deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-row.header .route,
.price-row.header .distance,
.price-row.header .price {
  color: white;
  background: transparent;
  -webkit-text-fill-color: white;
}

/* 가격 정책 섹션 */
.pricing-policy {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 0 1rem 5rem 1rem;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pricing-policy h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.policy-item {
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.policy-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.policy-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.policy-item h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  font-weight: 600;
}

.policy-item p {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* 취소 정책 */
.cancellation-policy {
  margin-top: 2rem;
}

.policy-notice {
  text-align: center;
  background: #e3f2fd;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #007bff;
}

.policy-notice p {
  margin: 0;
  font-weight: 600;
  color: #1565c0;
}

.cancellation-table {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.cancellation-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid #f8f9fa;
  align-items: center;
}

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

.cancellation-row.header {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: white;
  font-weight: 600;
}

.time-range {
  font-weight: 500;
  color: #2c3e50;
}

.cancellation-row.header .time-range {
  color: white;
}

.refund-rate {
  text-align: center;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
}

.refund-rate.free {
  background: #d4edda;
  color: #155724;
}

.refund-rate.partial {
  background: #fff3cd;
  color: #856404;
}

.refund-rate.no-refund {
  background: #f8d7da;
  color: #721c24;
}

.refund-rate small {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.2rem;
  opacity: 0.8;
}

/* 추가 정책 */
.additional-policies {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.additional-policies .policy-item {
  text-align: left;
  padding: 1.5rem;
  background: #fff;
  border: 2px solid #e9ecef;
}

.additional-policies .policy-item h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  color: #2c3e50;
}

.exception {
  color: #dc3545;
  font-weight: 600;
}

.friendly-note {
  color: #28a745;
  font-weight: 600;
  font-style: italic;
}

/* CTA 섹션 */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border-radius: 16px;
  padding: 3rem 2rem;
  margin: 0 1rem 4rem 1rem;
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 160px;
}

.cta-btn.primary {
  background: white;
  color: #007bff;
}

.cta-btn.secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* 플로팅 상담 버튼 */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.float-btn {
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-height: 44px;
  min-width: 44px;
}

.consultation-btn {
  background: #ffd700;
  color: #333;
  padding: 12px 20px;
}

.consultation-btn:hover {
  background: #ffed4e;
  transform: scale(1.05) translateY(-2px);
}

.whatsapp-consultation-btn {
  background: #25d366;
  color: white;
  padding: 12px 20px;
}

.whatsapp-consultation-btn:hover {
  background: #128c7e;
  transform: scale(1.05) translateY(-2px);
}

/* 반응형 디자인 - 태블릿 */
@media (max-width: 768px) {
  .pricing-main {
    padding: 5rem 0 2rem 0; /* 모바일 헤더 높이를 고려한 상단 여백 */
  }

  .pricing-header {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
  }

  .pricing-header h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

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

  .pricing-notice {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
    margin: 0 1rem;
    padding: 1.2rem;
  }

  .notice-icon {
    font-size: 2rem;
    margin-top: 0;
  }

  .notice-content {
    text-align: center;
    font-size: 0.9rem;
  }

  .vehicle-selector {
    padding: 0 1.5rem;
    margin-bottom: 2rem;
  }

  .vehicle-tabs {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .vehicle-tab {
    width: 250px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .price-section {
    margin: 0 1rem 1.5rem 1rem;
    padding: 1.5rem 1rem;
  }

  .price-section h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
  }

  /* 모바일용 카드 스타일 가격표 */
  .price-row {
    display: block;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .price-row:hover:not(.header) {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: #fff;
  }

  .price-row.header {
    display: none;
  }

  .route {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    text-align: center;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
  }

  .distance {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    text-align: center;
    background: #e3f2fd;
    color: #1565c0;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    display: inline-block;
    width: auto;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .price {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    color: #007bff;
    background: linear-gradient(135deg, #007bff, #0056b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .pricing-policy {
    margin: 0 1rem 4rem 1rem;
    padding: 2rem 1.5rem;
  }

  .cta-section {
    margin: 0 1rem 3rem 1rem;
    padding: 2rem 1.5rem;
  }

  .pricing-policy h2,
  .cta-section h2 {
    font-size: 1.6rem;
  }

  .policy-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .cancellation-row {
    display: block;
    text-align: center;
    padding: 1rem;
  }

  .time-range {
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 1rem;
  }

  .refund-rate {
    padding: 0.8rem;
    font-size: 1rem;
  }

  .additional-policies {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-btn {
    width: 100%;
    max-width: 280px;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }

  /* 플로팅 버튼 태블릿 조정 */
  .floating-buttons {
    bottom: 25px;
    right: 25px;
    gap: 10px;
  }

  .float-btn {
    padding: 12px 18px;
    font-size: 13px;
  }
}

/* 반응형 디자인 - 모바일 */
@media (max-width: 480px) {
  .pricing-header {
    padding: 0 1rem;
  }

  .pricing-header h1 {
    font-size: 1.8rem;
  }

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

  .pricing-notice {
    margin: 0 0.5rem;
    padding: 1rem;
  }

  .notice-content {
    font-size: 0.85rem;
  }

  .vehicle-selector {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  .vehicle-tab {
    width: 100%;
    max-width: 280px;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .price-section {
    margin: 0 0.5rem 1rem 0.5rem;
    padding: 1.2rem 0.8rem;
  }

  .price-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .price-row {
    padding: 1rem 0.8rem;
    margin-bottom: 0.8rem;
  }

  .route {
    font-size: 1rem;
    margin-bottom: 0.6rem;
  }

  .distance {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    margin-bottom: 0.6rem;
  }

  .price {
    font-size: 1.4rem;
  }

  .pricing-policy {
    margin: 0 0.5rem 3rem 0.5rem;
    padding: 1.5rem 1rem;
  }

  .cta-section {
    margin: 0 0.5rem 3rem 0.5rem;
    padding: 1.5rem 1rem;
  }

  .pricing-policy h2,
  .cta-section h2 {
    font-size: 1.4rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .cta-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  /* 플로팅 버튼 모바일 조정 */
  .floating-buttons {
    bottom: 20px;
    right: 15px;
    gap: 8px;
  }

  .float-btn {
    padding: 10px 16px;
    font-size: 12px;
    border-radius: 20px;
  }
}

/* 반응형 디자인 - 소형 모바일 */
@media (max-width: 360px) {
  .pricing-header h1 {
    font-size: 1.6rem;
  }

  .vehicle-tab {
    font-size: 0.9rem;
    padding: 0.9rem;
  }

  .price-section {
    margin: 0 0.3rem 0.8rem 0.3rem;
    padding: 1rem 0.6rem;
  }

  .route {
    font-size: 0.95rem;
  }

  .price {
    font-size: 1.3rem;
  }

  .pricing-policy {
    margin: 0 0.3rem 2.5rem 0.3rem;
    padding: 1.2rem 0.8rem;
  }

  .cta-section {
    margin: 0 0.3rem 2.5rem 0.3rem;
    padding: 1.2rem 0.8rem;
  }

  .floating-buttons {
    bottom: 15px;
    right: 10px;
  }

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

/* route-icon 스타일 추가 */
.route-icon {
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.1em;
}
