/* =========================================
   설문 랜딩페이지 스타일시트
   - 모바일 최적화, 블루 계열 디자인
   - 작성일: 2026-03-22
   ========================================= */

/* ─── CSS 변수 정의 ─── */
:root {
  /* 색상 팔레트 */
  --blue-primary:   #1565C0;   /* 메인 블루 */
  --blue-dark:      #0D47A1;   /* 진한 블루 */
  --blue-deeper:    #0A2E6E;   /* 더 깊은 블루 */
  --blue-light:     #1E88E5;   /* 밝은 블루 */
  --blue-bg:        #1450A3;   /* 배경 블루 */
  --green-accent:   #00E676;   /* 강조 초록 */
  --white:          #FFFFFF;
  --white-90:       rgba(255,255,255,0.9);
  --white-70:       rgba(255,255,255,0.7);
  --white-20:       rgba(255,255,255,0.2);
  --white-10:       rgba(255,255,255,0.1);
  --yellow-accent:  #FFD600;
  --red-error:      #FF5252;
  --gray-100:       #F5F7FF;
  --gray-200:       #E8EDF5;

  /* 타이포그래피 */
  --font-main: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-xs:   11px;
  --font-size-sm:   13px;
  --font-size-base: 14px;
  --font-size-md:   16px;
  --font-size-lg:   18px;
  --font-size-xl:   20px;
  --font-size-2xl:  24px;

  /* 간격 */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  12px;
  --space-lg:  16px;
  --space-xl:  20px;
  --space-2xl: 28px;

  /* 반경 */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* 그림자 */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.2);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.25);
  --shadow-btn: 0 4px 15px rgba(21,101,192,0.5);

  /* 전환 */
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-main);
  background: linear-gradient(160deg, var(--blue-deeper) 0%, var(--blue-bg) 50%, var(--blue-primary) 100%);
  min-height: 100vh;
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  word-break: keep-all;      /* 한글 단어 중간 줄바꿈 방지 */
  overflow-wrap: break-word; /* 넘칠 때만 줄바꿈 */
}

img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: inherit; }
input { font-family: inherit; outline: none; }
a { text-decoration: none; }

/* ─── 앱 래퍼 ─── */
.app-wrapper {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* =========================================
   진행률 표시 바
   ========================================= */
.progress-bar-wrapper {
  display: none;  /* JS에서 단계에 따라 표시 */
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 71, 161, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px var(--space-md);
  border-bottom: 1px solid var(--white-20);
}

.progress-bar-wrapper.visible {
  display: block;
}

.progress-bar-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--white-90);
  letter-spacing: 0.5px;
}

.progress-track {
  width: 100%;
  height: 5px;
  background: var(--white-20);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-accent), #00BFA5);
  border-radius: var(--radius-full);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* =========================================
   단계(STEP) 공통
   ========================================= */
.step {
  display: none;           /* 기본 숨김 */
  min-height: 100vh;
  min-height: 100dvh;
  animation: fadeSlideIn 0.35s ease forwards;
  overflow-y: auto;
}

.step.active {
  display: block;
}

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

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

/* ─── 스텝 카드 공통 ─── */
.step-card {
  margin: var(--space-sm) var(--space-sm);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-md);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(30,136,229,0.4);
}

.step-icon.success {
  background: linear-gradient(135deg, #00C853, #00BFA5);
  box-shadow: 0 4px 15px rgba(0,200,83,0.4);
}

.step-title {
  font-size: var(--font-size-xl);
  font-weight: 900;
  text-align: center;
  line-height: 1.25;
  margin-bottom: var(--space-xs);
  color: var(--white);
}

.step-title .highlight {
  color: var(--green-accent);
}

.step-desc {
  font-size: var(--font-size-xs);
  color: var(--white-70);
  text-align: center;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

/* =========================================
   STEP 1: 메인 화면 (텍스트형)
   ========================================= */

/* 전체 래퍼 */
.main-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px 10px 10px;
  min-height: 100vh;
  min-height: 100dvh;
}

/* 상단 헤드라인 */
.main-headline {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 10px 12px;
  text-align: center;
}

.main-top-label {
  font-size: 14px;
  color: var(--white-70);
  margin-bottom: 2px;
  font-weight: 500;
  word-break: keep-all;
  line-height: 1.4;
}

.main-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 7px;
  letter-spacing: -0.5px;
}

/* 전립선 비대증 강조 텍스트 */
.title-highlight {
  background: linear-gradient(135deg, #FF6B00, #FFD600, #FF6B00);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 2s linear infinite;
  font-size: 36px;
  display: inline-block;
}

@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 발기찬 강조 */
.highlight-red {
  color: #FF4444;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255,68,68,0.5);
}

.main-target-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0,230,118,0.15);
  border: 1px solid rgba(0,230,118,0.4);
  border-radius: var(--radius-lg);
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  text-align: center;
  line-height: 1.4;
  word-break: keep-all;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: nowrap;
}

.main-target-badge span {
  word-break: keep-all;
  line-height: 1.4;
}

.main-target-badge i {
  color: var(--green-accent);
  font-size: 14px;
  flex-shrink: 0;
}

.main-insurance-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,214,0,0.15);
  border: 1px solid rgba(255,214,0,0.4);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #FFD600;
}

.main-insurance-badge i {
  font-size: 14px;
}

/* 증상 섹션 */
.symptom-section {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 10px;
}

.symptom-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--green-accent);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));  /* 강제 2열 유지 */
  gap: 5px;
}

.symptom-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 6px 7px;
  min-width: 0;
}

.symptom-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

.symptom-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.symptom-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  white-space: nowrap;
}

.symptom-desc {
  font-size: 12px;
  color: var(--white-70);
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 전문의 멘트 */
.doctor-section {
  background: linear-gradient(135deg, rgba(21,101,192,0.4), rgba(13,71,161,0.4));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 9px 12px;
  text-align: center;
}

.doctor-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 2px;
}

.doctor-text i {
  color: var(--green-accent);
  margin-right: 4px;
}

.doctor-sub {
  font-size: 15px;
  color: var(--white-90);
  font-weight: 700;
}

/* CTA 버튼 영역 */
.main-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}



.video-caption strong {
  color: var(--white);
}

/* CTA 섹션 */
.cta-section {
  padding: var(--space-sm) var(--space-md) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.1) 100%);
}

/* 뱃지 */
.cta-badges {
  display: flex;
  flex-direction: row;
  gap: 6px;
  width: 100%;
}

.badge {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  backdrop-filter: blur(10px);
  flex: 1;
  justify-content: center;
}

.badge i {
  color: var(--green-accent);
  font-size: 13px;
}

/* 메인 CTA 버튼 */
.btn-cta {
  width: 100%;
  padding: 24px var(--space-lg);
  background: linear-gradient(135deg, #00C853, #00BFA5);
  color: var(--white);
  font-size: 26px;
  font-weight: 900;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(0,200,83,0.5);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  letter-spacing: -0.3px;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,200,83,0.6);
}

.btn-cta:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0,200,83,0.4);
}

/* 번쩍번쩍 애니메이션 */
.pulse {
  animation: flashBtn 1.5s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

/* 빛 번쩍이는 줄기 효과 */
.pulse::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.5) 50%,
    transparent 100%
  );
  animation: flashLight 1.5s ease-in-out infinite;
  border-radius: var(--radius-full);
}

@keyframes flashBtn {
  0%, 100% {
    box-shadow: 0 6px 25px rgba(0,200,83,0.5);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 6px 40px rgba(0,200,83,0.9),
                0 0 0 6px rgba(0,200,83,0.2),
                0 0 60px rgba(0,200,83,0.3);
    transform: scale(1.02);
  }
}

@keyframes flashLight {
  0%   { left: -100%; opacity: 0; }
  20%  { opacity: 1; }
  60%  { left: 140%; opacity: 0; }
  100% { left: 140%; opacity: 0; }
}

.cta-sub {
  font-size: 11px;
  color: var(--white-70);
  text-align: center;
}

/* =========================================
   선택 옵션 (버튼형)
   ========================================= */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: var(--space-sm);
}

/* 2열 그리드 (나이 선택) */
.option-group.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-md);
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  color: var(--white);
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all var(--transition);
  text-align: left;
  cursor: pointer;
  min-height: 52px;
  -webkit-tap-highlight-color: transparent;
}

/* 2열일 때 flex 방향 변경 */
.grid-2 .option-btn {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px var(--space-sm);
  text-align: center;
}

.option-icon {
  font-size: 18px;
  line-height: 1;
  min-width: 24px;
  text-align: center;
}

.option-text {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--white);
}

.option-sub {
  font-size: 11px;
  color: var(--white-70);
  margin-left: auto;
}

/* 선택된 상태 */
.option-btn.selected {
  background: linear-gradient(135deg, var(--blue-light), var(--blue-primary));
  border-color: var(--green-accent);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.3), var(--shadow-md);
  transform: scale(1.02);
}

.option-btn.selected .option-text {
  color: var(--white);
}

.option-btn.selected .option-sub {
  color: rgba(255,255,255,0.85);
}

.option-btn:hover:not(.selected) {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

.option-btn:active {
  transform: scale(0.98);
}

/* ─── 체크 아이콘 (선택된 버튼 우상단) ─── */
.option-btn.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: var(--green-accent);
  color: #000;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 22px;
  text-align: center;
}

/* option-btn은 상대 위치 필요 */
.option-btn {
  position: relative;
}

/* =========================================
   버튼 공통 (다음으로 이동)
   ========================================= */
.btn-next {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-dark));
  color: var(--white);
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-btn);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
  -webkit-tap-highlight-color: transparent;
}

.btn-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21,101,192,0.6);
}

.btn-next:active {
  transform: scale(0.98);
}

/* =========================================
   에러 메시지
   ========================================= */
.error-msg {
  display: none;  /* JS로 제어 */
  color: var(--red-error);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
  padding: var(--space-xs) var(--space-sm);
  background: rgba(255,82,82,0.15);
  border: 1px solid rgba(255,82,82,0.3);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  animation: shake 0.3s ease;
}

.error-msg.visible {
  display: block;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-5px); }
  75%       { transform: translateX(5px); }
}

/* =========================================
   STEP 5: 상담 신청 폼
   ========================================= */

/* 설문 요약 */
.survey-summary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.summary-title {
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--green-accent);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.summary-list {
  display: flex;
  flex-direction: row;
  gap: 6px;
  flex-wrap: wrap;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.summary-label {
  font-size: 11px;
  color: var(--white-70);
}

.summary-value {
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.15);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* 폼 그룹 */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-label {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: var(--white-90);
  margin-bottom: 4px;
}

.required {
  color: var(--red-error);
  font-weight: 900;
}

.form-input {
  width: 100%;
  padding: 11px var(--space-md);
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-input:focus {
  border-color: var(--green-accent);
  background: rgba(255,255,255,0.15);
  box-shadow: 0 0 0 3px rgba(0,230,118,0.2);
}

.form-input.error {
  border-color: var(--red-error);
  box-shadow: 0 0 0 3px rgba(255,82,82,0.2);
}

/* 약관 영역 */
.terms-group {
  margin-bottom: var(--space-sm);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.checkbox-label:hover {
  background: rgba(255,255,255,0.05);
}

.checkbox-input {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 5px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  margin-top: 1px;
}

.checkbox-input:checked + .checkbox-custom {
  background: var(--green-accent);
  border-color: var(--green-accent);
}

.checkbox-input:checked + .checkbox-custom::after {
  content: '';
  width: 6px;
  height: 10px;
  border: 2px solid #000;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.checkbox-text {
  font-size: 12px;
  color: var(--white-90);
  line-height: 1.4;
}

.terms-toggle {
  display: block;
  margin: var(--space-xs) 0 var(--space-xs) var(--space-xl);
  font-size: var(--font-size-xs);
  color: rgba(100,180,255,0.9);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.terms-content {
  display: none;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--white-70);
  line-height: 1.8;
}

.terms-content.open {
  display: block;
  animation: fadeIn 0.2s ease;
}

.terms-content p + p {
  margin-top: 6px;
}

.terms-privacy {
  margin-top: var(--space-sm) !important;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 제출 버튼 */
.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #FF6F00, #FF8F00);
  color: var(--white);
  font-size: var(--font-size-md);
  font-weight: 900;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 25px rgba(255,111,0,0.5);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
  -webkit-tap-highlight-color: transparent;
  animation: pulsateOrange 2s ease-in-out infinite;
}

@keyframes pulsateOrange {
  0%, 100% { box-shadow: 0 6px 25px rgba(255,111,0,0.5); }
  50%       { box-shadow: 0 6px 35px rgba(255,111,0,0.8), 0 0 0 8px rgba(255,111,0,0.15); }
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,111,0,0.7);
}

.btn-submit:active {
  transform: scale(0.98);
  animation: none;
}

/* 폼 하단 안내 */
.form-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--white-70);
  margin-top: 8px;
  text-align: center;
}

/* =========================================
   STEP 6: 완료 화면
   ========================================= */
.complete-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.complete-icon {
  font-size: 48px;
  color: var(--green-accent);
  margin-bottom: var(--space-sm);
  animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.complete-title {
  font-size: var(--font-size-lg);
  font-weight: 900;
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}

.complete-desc {
  font-size: var(--font-size-xs);
  color: var(--white-70);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.complete-summary {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  margin-bottom: var(--space-sm);
  text-align: left;
}

.complete-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
}

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

.complete-summary-label {
  color: var(--white-70);
}

.complete-summary-value {
  font-weight: 700;
  color: var(--white);
}

/* 텔레그램 버튼 */
.btn-telegram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #0088CC, #0077B6);
  color: var(--white);
  font-size: var(--font-size-base);
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(0,136,204,0.5);
  transition: all var(--transition);
  margin-bottom: var(--space-sm);
  text-decoration: none;
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,136,204,0.7);
}

.btn-telegram i {
  font-size: 17px;
}

/* 다시 시작 버튼 */
.btn-restart {
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.1);
  color: var(--white-70);
  font-size: 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}

.btn-restart:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* =========================================
   푸터
   ========================================= */
.site-footer {
  text-align: center;
  padding: 10px var(--space-md);
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.1);
  line-height: 1.7;
  background: rgba(0,0,0,0.2);
}

/* =========================================
   반응형 미디어 쿼리
   ========================================= */

/* 작은 모바일 (360px 이하) */
@media (max-width: 360px) {
  .step-title     { font-size: 17px; }
  .btn-cta        { font-size: 14px; padding: 12px; }
  .btn-next,
  .btn-submit     { font-size: 13px; padding: 11px; }
  .option-text    { font-size: 13px; }
  .option-btn     { min-height: 44px; padding: 8px 10px; }
  .step-card      { padding: 12px 10px; margin: 6px; }
  .badge          { font-size: 10px; padding: 5px 7px; }
}

/* 태블릿 이상 */
@media (min-width: 481px) {
  .app-wrapper {
    box-shadow: 0 0 60px rgba(0,0,0,0.4);
  }

  body {
    background: linear-gradient(160deg, #050E2B 0%, #0A2E6E 50%, #1450A3 100%);
  }
}

/* 터치 디바이스 최적화 */
@media (hover: none) {
  .btn-cta:hover,
  .btn-next:hover,
  .btn-submit:hover,
  .btn-telegram:hover,
  .option-btn:hover { transform: none; }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
  .form-input {
    color-scheme: dark;
  }
}
