﻿/* ============================================================
   SELECT& 디자인 설정
   색상·폰트는 여기 :root 변수만 수정하면 전체 반영됩니다
   ============================================================ */
:root {
  --bg:          #F2F0EB;
  --bg-white:    #FFFFFF;
  --primary:     #111827;   /* App Store 버튼 */
  --secondary:   #8b3f22;   /* Play Store 버튼, 아이콘, 단계 번호 */
  --accent:      #6B7C3A;   /* 배지 */
  --text:        #212121;
  --text-sub:    #4B5563;
  --text-muted:  #9CA3AF;
  --border:      #E5E7EB;
  --font: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo',
          'Malgun Gothic', 'Noto Sans KR', system-ui, Roboto, sans-serif;
}


/* ── 리셋 & 기본 ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  zoom: reset;
}

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--bg);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Chromium WebView 폰트 부스팅 방지 */
body * { max-height: 1000000px; }

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

/* 모바일 기준 최대 너비 */
.container {
  max-width: 480px;
  margin: 0 auto;
}


/* ─────────────────────────────
   섹션 1: HERO   
───────────────────────────── */
.hero-section {
  background-color: var(--bg);  
}

.hero-text {
  text-align: left;
  padding: 2.5rem 1.5rem 0.5rem;
}

.badge-group {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: white;
  background-color: var(--accent);
  margin-bottom: 0.375rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.badge-sub {
  font-size: 0.80rem;
  color: var(--text-sub);
  margin: 0;
  padding: 0 1.5rem 1rem;
  text-align: left;
}

.logo {
  height: 2.30rem;
  width: auto;
  margin: 0 0 1.5rem;
}

.tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: 'Nanum Myeongjo', 'NanumMyeongjo', Georgia, serif;
  font-size: 1.275rem;
  font-weight: normal;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* 이미지 — 텍스트 바로 아래 자연스럽게 배치 */
.hero-image-container {
  width: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 스크롤 유도 화살표 */
.scroll-indicator {
  display: flex;
  justify-content: center;
  background-color: transparent;
  position: relative;
  z-index: 1;
  margin-bottom: -1.25rem;
}

.bounce {
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.chevron-icon {
  width: 1rem;
  height: 1rem;
  color: white;
}

.bounce { animation: bounce 2s infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}


/* ─────────────────────────────
   섹션 2: 서비스 소개
───────────────────────────── */
.services-section {
  background-color: var(--bg-white);
}

.services-content {
  padding: 7svh 1.5rem;
  width: 100%;
}

.section-header {
  text-align: left;
  margin-bottom: 1.50rem;
}

.section-title {
  font-size: 2.0rem;
  font-weight: bold;
  color: var(--text);
  margin: 0 0 2.0rem;
  line-height: 2.75rem;
}

.section-title--bodoni {
  font-family: 'Bodoni MT','Libre Bodoni', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-description {
  font-size: 1.0rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.0rem;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.service-card-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--secondary);
}

.service-text { flex: 1; }

.service-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.service-description {
  font-size: 0.8125rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}


/* ─────────────────────────────
   섹션 3: 이용 방법
───────────────────────────── */
.how-section {
  background-color: var(--bg);  
}

.how-text-content {
  flex: 1;
  padding: 7svh 1.5rem 2rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.0rem;
}

.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.875rem;
}

.step-text {
  flex: 1;
  padding-top: 0.375rem;
}

.step-title {
  font-weight: 600;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
  color: var(--text);
}

.illustration-container { 
  width: 100%; 
  margin-top: 3.0rem;
}

.illustration {
  width: 100%;
  height: auto;
  object-fit: cover;
  opacity: 0.6;
}


/* ─────────────────────────────
   섹션 4: 비전
───────────────────────────── */
.vision-section .section-header {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

.vision-section {
  background-color: var(--bg-white);
}

.vision-content {
  padding: 5svh 1.5rem;
  width: 100%;
}

.vision-cards {
  display: flex;
  flex-direction: column;
  gap: 1.0rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.vision-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--bg-white);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.vision-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--bg);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-icon svg {
  width: 1.125rem;
  height: 1.125rem;
  color: var(--secondary);
}

.vision-text { flex: 1; }

.vision-card-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
  margin: 0 0 0.25rem;
}

.vision-card-description {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin: 0;
  line-height: 1.5;
}

.closing-text {
  font-size: 0.875rem;
  color: #6B7280;
  text-align: center;
  margin: 0;
}


/* ─────────────────────────────
   섹션 5: 다운로드
───────────────────────────── */
.download-section {
  background-color: var(--bg);
}

.download-content {
  padding: 7svh 1.5rem 2rem;
  width: 100%;
}

.download-content .section-title {
  margin-bottom: 1.25rem;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.download-button {
  display: block;
  width: 100%;
  padding: 1rem;
  border-radius: 0.875rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.download-button:active { opacity: 0.75; }

.download-button.app-store   { background-color: var(--primary);   color: white; }
.download-button.google-play { background-color: var(--secondary); color: white; }


/* ── 안내 박스 ── */
.notice-box {
  margin-top: 2.25rem;
  padding: 1rem 1.125rem;
  background-color: rgba(255,255,255,.6);
  border-radius: 0.875rem;
  border: 1px solid rgba(229,231,235,.6);
}

.notice-title {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--text);
  margin: 0 0 0.5rem;
}

.notice-list {
  font-size: 0.75rem;
  color: #374151;
  line-height: 1.7;
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-list li { margin-bottom: 0.25rem; }


/* ── 푸터 ── */
.footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo {
  height: 1.125rem;
  width: auto;
  margin: 0 auto 0.75rem;
  opacity: 0.4;
}

.footer-text {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin: 0;
}


/* ── 카카오톡 인앱브라우저 폰트 크기 조정 ── */
/* html 기준값을 14px로 낮추면 모든 rem 값이 14/16 = 87.5% 로 한 번에 축소됨 */
.is-kakao {
  font-size: 14px;
}