/* 하루센스 통합 스타일시트 - 뉴센스 앱과 시각적 통일 */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFFFF;
  --charcoal: #2C2A28;
  --gold: #C9A961;
  --soft-pink: #F5E6E0;
  --sage: #B8C4A8;
  --muted: #8B857F;
  --danger: #D97757;
  --border: #ECE7DD;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--charcoal);
  text-decoration: none;
}

/* ===== 헤더 ===== */
.header {
  background: var(--cream);
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(250, 247, 242, 0.85);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--soft-pink);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--charcoal);
}

/* ===== 콘텐츠 컨테이너 ===== */
.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* ===== 히어로 (메인) ===== */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 760px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: var(--soft-pink);
  color: var(--charcoal);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero .subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
}

.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 42, 40, 0.2);
}

.btn-secondary {
  background: white;
  color: var(--charcoal);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--soft-pink);
  border-color: var(--soft-pink);
}

/* ===== 섹션 ===== */
.section {
  padding: 80px 24px;
}

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

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

/* ===== 기능 카드 ===== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: white;
  padding: 32px 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--soft-pink);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== 사용법 흐름 ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

.step {
  padding: 24px;
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

/* ===== CTA 박스 ===== */
.cta-box {
  background: white;
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  border: 1px solid var(--border);
}

.cta-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 28px;
}

/* ===== 약관/정책 페이지 ===== */
.legal-content {
  background: white;
  border-radius: 16px;
  padding: 48px 40px;
  border: 1px solid var(--border);
}

.legal-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.legal-content .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 14px;
}

.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.legal-content p {
  margin-bottom: 14px;
  color: var(--charcoal);
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  margin-left: 24px;
  margin-bottom: 14px;
}

.legal-content li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.legal-content th, .legal-content td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.legal-content th {
  background: var(--cream);
  font-weight: 600;
}

.legal-content .highlight {
  background: var(--soft-pink);
  padding: 16px 20px;
  border-radius: 12px;
  margin: 20px 0;
}

/* ===== About 페이지 ===== */
.about-hero {
  text-align: center;
  padding: 80px 24px 48px;
}

.about-hero h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.clinic-info {
  background: white;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--border);
  margin-top: 24px;
}

.clinic-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.info-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

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

.info-label {
  width: 120px;
  color: var(--muted);
  font-size: 14px;
}

.info-value {
  flex: 1;
  font-size: 14px;
}

/* ===== 푸터 ===== */
.footer {
  background: var(--charcoal);
  color: white;
  padding: 48px 24px 32px;
  margin-top: 80px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.9);
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

.footer-bottom p {
  line-height: 1.7;
}

/* ===== 모바일 반응형 ===== */
@media (max-width: 768px) {
  .hero {
    padding: 60px 20px 50px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero .subtitle {
    font-size: 16px;
  }
  
  .nav {
    display: none;
  }
  
  .features, .steps {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .legal-content {
    padding: 28px 20px;
  }
  
  .legal-content h1 {
    font-size: 24px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .cta-box {
    padding: 36px 24px;
  }
  
  .cta-box h2 {
    font-size: 22px;
  }
  
  .info-row {
    flex-direction: column;
    gap: 4px;
  }
  
  .info-label {
    width: auto;
  }
}
