/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f8f9fa;
    font-size: 16px; /* 기본 본문 폰트 크기 통일 */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
}

.main-title {
    font-size: 4rem; /* 데스크톱에서 크고 임팩트 있게 */
    font-weight: 800;
    margin-bottom: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.12);
    letter-spacing: -1px;
}

.sub-title {
    font-size: 1.5rem;
    margin-bottom: 28px;
    opacity: 0.96;
    font-weight: 500;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 1.8rem; /* 섹션 제목 크기 통일 */
    font-weight: 700;
    margin-bottom: 32px;
    letter-spacing: -0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h3 {
    font-size: 1.2rem; /* 서브 제목 크기 통일 */
    font-weight: 600;
    margin-bottom: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.condition-text p, .calculator-description, .consultation-description, .checklist-description {
    font-size: 1rem; /* 설명 텍스트 크기 통일 */
    line-height: 1.7;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.question-item h3 {
    font-size: 1.1rem; /* 질문 제목 크기 통일 */
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.condition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.condition-item {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.condition-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.condition-text h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #2c3e50;
}

.condition-text p {
    color: #667eea;
    font-weight: 600;
}

/* 비디오 섹션 */
.video-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.video-section h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 28px;
    color: #2c3e50;
    word-break: keep-all;
    line-height: 1.3;
}

.video-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.video-placeholder {
    background: #000;
    border-radius: 15px;
    padding: 60px;
    text-align: center;
    color: white;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-placeholder:hover {
    opacity: 0.8;
}

.play-button {
    font-size: 4rem;
    margin-bottom: 20px;
    background: rgba(255,255,255,0.2);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* 체크리스트 섹션 */
.checklist-section {
    padding: 80px 0;
    background: white;
}

.checklist-section h2 {
    text-align: center;
    font-size: 1.8rem; /* 체크리스트 제목 크기 통일 */
    margin-bottom: 20px;
    color: #2c3e50;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.checklist-description {
    text-align: center;
    font-size: 1rem; /* 체크리스트 설명 크기 통일 */
    color: #666;
    margin-bottom: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.checklist-form {
    max-width: 800px;
    margin: 0 auto;
}

.question-item {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
}

.radio-group {
    display: flex;
    gap: 30px;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    cursor: pointer;
    color: #555;
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.check-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.result-message {
    margin-top: 30px;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.result-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.result-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 계산기 섹션 */
.calculator-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.calculator-section h2 {
    font-size: 1.8rem; /* 계산기 섹션 제목 크기 통일 */
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.calculator-description {
    text-align: center;
    font-size: 1rem; /* 계산기 설명 크기 통일 */
    color: #666;
    margin-bottom: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.calculator-form {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
}

.calculate-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(39, 174, 96, 0.3);
}

.calculation-result {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    text-align: center;
}

.calculation-result h3 {
    font-size: 1.5rem;
    color: #27ae60;
    margin-bottom: 15px;
}

.calculation-result .refund-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #27ae60;
    margin: 20px 0;
}

/* 상담 신청 섹션 */
.consultation-section {
    padding: 80px 0;
    background: white;
}

.consultation-section h2 {
    text-align: center;
    font-size: 1.8rem; /* 상담 섹션 제목 크기 통일 */
    margin-bottom: 20px;
    color: #2c3e50;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.consultation-description {
    text-align: center;
    font-size: 1rem; /* 상담 설명 크기 통일 */
    color: #666;
    margin-bottom: 50px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.consultation-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* 숫자 입력 필드 스타일 */
#sale-amount,
#tax-paid,
#sale-price {
    text-align: right;
    font-family: 'Courier New', monospace;
}

/* 한글 표시 컨테이너 */
.input-with-korean {
    position: relative;
    width: 100%;
}

/* 한글 표시 영역 */
.korean-display {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 0.85rem;
    pointer-events: none;
    opacity: 0.7;
    font-weight: 600;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    max-width: 60%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    color: #555;
}

.checkbox-label input[type="checkbox"] {
    width: auto !important;
    margin-right: 10px;
    transform: scale(1.2);
}

/* 도움말 텍스트 */
.help-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.4;
}

/* 정부 인정 사실 섹션 */
.government-admission-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.admission-content {
    max-width: 900px;
    margin: 0 auto;
}

.admission-quote {
    text-align: center;
    margin-bottom: 40px;
}

.quote-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 20px;
}

.admission-details h3 {
    color: #27ae60;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.admission-details ul {
    list-style: none;
    padding: 0;
}

.admission-details li {
    padding: 15px 0;
    border-bottom: 1px solid #dee2e6;
    font-size: 1.1rem;
    line-height: 1.6;
}

.admission-details li:last-child {
    border-bottom: none;
}

.highlight-text {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.15rem;
}

/* 긴급성 강조 섹션 */
.urgency-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

.urgency-content {
    max-width: 900px;
    margin: 0 auto;
}

.urgency-quote {
    text-align: center;
    margin-bottom: 40px;
}

.urgency-details h3 {
    color: #e74c3c;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.urgency-info {
    margin-bottom: 30px;
}

.urgency-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.urgency-text h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.urgency-text p {
    color: #666;
    line-height: 1.6;
}

.urgency-cta {
    text-align: center;
    padding: 30px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 12px;
    border: 2px solid #27ae60;
}

.urgency-final {
    font-size: 1.3rem;
    color: #27ae60;
    margin: 0;
}

/* 환급 가능성 섹션 */
.refund-possibility-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
}

.possibility-content {
    max-width: 900px;
    margin: 0 auto;
}

.possibility-quote {
    text-align: center;
    margin-bottom: 40px;
}

.possibility-details h3 {
    color: #27ae60;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.possibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.possibility-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.possibility-item h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.possibility-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.highlight-amount {
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.highlight-service {
    color: #667eea;
    font-weight: bold;
    font-size: 1.1rem;
}

/* 법적 근거 섹션 */
.legal-basis-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-quote {
    text-align: center;
    margin-bottom: 40px;
}

.legal-details h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

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

.legal-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.legal-item h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.legal-item p {
    color: #666;
    line-height: 1.6;
}

/* 최종 행동 유도 섹션 */
.final-cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.final-cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.final-message {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffd700;
}

.submit-btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.contact-options {
    text-align: center;
    margin-top: 30px;
}

.contact-options p {
    margin-bottom: 15px;
    color: #666;
}

.kakao-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #fee500;
    color: #3c1e1e;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.kakao-btn:hover {
    background: #fdd835;
    transform: translateY(-2px);
}

/* 고정 CTA 버튼 */
.fixed-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 16px rgba(1,113,185,0.08);
    padding: 16px 0 0 0;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.cta-btn {
    width: 100%;
    max-width: 100vw;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px 0;
    border-radius: 0;
    background: linear-gradient(90deg, #0171B9 0%, #27ae60 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(1,113,185,0.15);
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    background: linear-gradient(90deg, #005a94 0%, #219150 100%);
    box-shadow: 0 4px 16px rgba(1,113,185,0.25);
}

/* 모달 스타일 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #27ae60;
}

.modal-content p {
    margin-bottom: 25px;
    color: #666;
}

.modal-close-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #5a6fd8;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    body {
        font-size: 14px; /* 모바일에서 기본 폰트 크기 축소 */
    }
    .main-title {
        font-size: 1.3rem;
        line-height: 1.4;
        word-break: keep-all;
        white-space: pre-line;
    }
    .sub-title {
        font-size: 0.9rem; /* 모바일에서 부제목 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    h2 {
        font-size: 1.4rem; /* 모바일에서 섹션 제목 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    h3 {
        font-size: 1rem; /* 모바일에서 서브 제목 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .final-message {
        font-size: 0.9rem; /* 모바일에서 강조 메시지 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .check-btn, .calculate-btn, .submit-btn, .cta-btn {
        font-size: 0.9rem; /* 모바일에서 버튼 텍스트 크기 축소 */
        padding: 13px 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .form-group label, .input-group label, input, select, textarea {
        font-size: 0.85rem; /* 모바일에서 폼 요소 크기 축소 */
    }
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 40px 0;
    }
    
    .summary-section,
    .checklist-section,
    .calculator-section,
    .consultation-section {
        padding: 50px 0;
    }
    
    .question-item {
        padding: 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
    
    /* 한글 표시 모바일 대응 */
    .korean-display {
        font-size: 0.7rem; /* 모바일에서 한글 표시 크기 축소 */
        max-width: 50%;
        left: 10px;
    }
    
    /* 새로운 섹션들 모바일 대응 */
    .quote-text {
        font-size: 0.9rem; /* 모바일에서 인용 텍스트 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
        text-align: left; /* 모바일에서 왼쪽 정렬 */
    }
    
    .admission-details li,
    .urgency-text p,
    .legal-item p {
        font-size: 0.85rem; /* 모바일에서 리스트 텍스트 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .possibility-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .possibility-item {
        padding: 20px;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .legal-item {
        padding: 20px;
    }
    
    .urgency-item {
        flex-direction: column;
        text-align: center;
    }
    
    .urgency-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .final-cta-content h2 {
        font-size: 1.4rem; /* 모바일에서 최종 CTA 제목 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .final-message {
        font-size: 0.9rem; /* 모바일에서 최종 메시지 크기 축소 */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .urgency-item {
        font-size: 0.9rem; /* 모바일에서 긴급 메시지 크기 축소 */
        padding: 25px 25px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* 모바일에서 텍스트 넘침 방지 */
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
} 

.profile-section {
  background: #f7fafd;
  padding: 50px 0 30px 0;
  display: flex;
  justify-content: center;
}
.profile-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 36px;
  max-width: 600px;
  margin: 0 auto;
  gap: 32px;
}
.profile-img-wrap {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #e9ecef;
}
.profile-info {
  flex: 1;
  min-width: 0;
}
.profile-name-row {
  margin-bottom: 10px;
}
.profile-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
}
.profile-badges {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.badge-purple {
  background: #e6e1f7;
  color: #6c4ad0;
}
.badge-orange {
  background: #ffe3d1;
  color: #e67e22;
}
.badge-beige {
  background: #f7f3e7;
  color: #b89c5a;
}
.profile-career {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
}
.profile-career li {
  margin-bottom: 2px;
}
@media (max-width: 600px) {
  .profile-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 12px;
    gap: 18px;
  }
  .profile-img-wrap {
    width: 90px;
    height: 90px;
  }
  .profile-name {
    font-size: 1.08rem;
  }
  .profile-career {
    font-size: 0.95rem;
  }
} 

@media (max-width: 768px) {
    .fixed-cta {
        padding: 0 0 0 0;
    }
    .cta-btn {
        font-size: 1rem;
        padding: 0 0;
        width: 100%;
        max-width: 100vw;
        border-radius: 0;
        margin: 0;
    }
} 