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

:root {
    --primary-color: #e63946;
    --secondary-color: #457b9d;
    --accent-color: #f1faee;
    --text-dark: #1d3557;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --shadow: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: #f0f4f8;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 메인 컨테이너 */
.main-container {
    width: 100%;
    max-width: 100%;
}

/* 섹션 공통 스타일 */
.section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    position: relative;
}

.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 섹션 제목 */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.subsection-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 40px;
    text-align: center;
    letter-spacing: 2px;
}

/* 섹션 1: Hero (표지) */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-icon {
    font-size: 6rem;
    margin-bottom: 30px;
    animation: bounceIn 1s ease;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    50% {
        transform: scale(1.05) rotate(5deg);
    }
    70% {
        transform: scale(0.9) rotate(-3deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.title-decoration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    animation: fadeIn 1.5s ease;
}

.deco-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
}

.title-decoration i {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.main-title {
    font-size: 5rem;
    font-weight: 900;
    margin: 30px 0;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    animation: fadeInUp 1s ease;
    letter-spacing: 2px;
}

.title-highlight {
    background: linear-gradient(120deg, #ffd89b 0%, #19547b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    font-size: 5.5rem;
    display: inline-block;
    padding: 0 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    -webkit-text-fill-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.main-subtitle {
    font-size: 2.5rem;
    font-weight: 500;
    margin: 40px 0;
    opacity: 0.95;
    animation: fadeInUp 1.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.main-subtitle i {
    font-size: 2rem;
}

.instructor-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 50px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 40px;
    animation: fadeInUp 1.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.instructor-box i {
    font-size: 2rem;
}

.instructor {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 섹션 2: 학습목표 */
.objectives-section {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
}

.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    border-left: 6px solid var(--secondary-color);
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.objective-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px var(--shadow);
}

.objective-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 50px;
}

.objective-item p {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.8;
}

/* 섹션 3: 학습순서 */
.contents-section {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.content-item {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 25px 35px;
    background: white;
    border-radius: 15px;
    border: 3px solid #ffb74d;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

.content-item:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px var(--shadow);
    transform: translateY(-5px);
}

.content-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    min-width: 70px;
}

.content-item p {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* 섹션 4: 뉴스 */
.news-section {
    background: white;
}

.news-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.news-source {
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
}

/* 섹션 5: 내용증명 정의 */
.definition-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.definition-box {
    max-width: 900px;
    margin: 50px auto 0;
    padding: 60px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.definition-text {
    font-size: 1.8rem;
    line-height: 2.5;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

.definition-text .blank {
    display: inline-block;
    padding: 8px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: white;
    font-weight: 700;
    margin: 0 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* 섹션 6: 내용증명 특징 */
.features-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--shadow);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--secondary-color);
}

.feature-header i {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.feature-header h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.feature-list li {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    padding-left: 35px;
    position: relative;
    line-height: 1.8;
}

.feature-list li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

/* 섹션 7: 이용사례 */
.usecase-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

/* 섹션 8: 내용증명의 대상 */
.target-section {
    background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
}

.target-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.target-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.target-item:hover {
    transform: translateY(-5px);
}

.target-item i {
    font-size: 2.5rem;
    color: #f57c00;
}

.target-item p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 섹션 9: 내용문서 확인 */
.document-section {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
}

.document-box {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
}

.document-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.doc-stack {
    display: flex;
    gap: 30px;
    align-items: center;
}

.doc-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.doc-card.original {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.doc-card.copy {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.doc-card i {
    font-size: 3rem;
}

.doc-card p {
    font-size: 1.2rem;
    font-weight: 600;
}

.doc-total {
    background: #fff3e0;
    padding: 20px 40px;
    border-radius: 12px;
    border: 3px solid #ff9800;
}

.doc-total p {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.doc-total .highlight {
    font-size: 2rem;
    color: #f57c00;
    font-weight: 900;
}

.document-description {
    font-size: 1.3rem;
    color: #666;
    text-align: center;
    font-weight: 500;
}

/* 섹션 10: 발송인 수취인 확인 */
.verification-section {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
}

.verification-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto 30px;
    flex-wrap: wrap;
}

.verification-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 6px 25px var(--shadow);
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.card-icon {
    font-size: 3.5rem;
    color: #00897b;
    margin-bottom: 20px;
}

.verification-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-group p {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}

.match-icon {
    font-size: 3rem;
    color: #00897b;
}

.verification-note {
    font-size: 1.3rem;
    color: #00695c;
    text-align: center;
    font-weight: 600;
    background: white;
    padding: 25px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
}

/* 섹션 11: 증명절차 */
.procedure-section {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
}

.procedure-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.procedure-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 25px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.procedure-card:hover {
    transform: translateY(-8px);
}

.procedure-icon {
    font-size: 3.5rem;
    color: #c2185b;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.procedure-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.procedure-card h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.procedure-desc {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

/* 섹션 12: 수수료 체계 */
.fee-section {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
}

.fee-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.fee-info-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 25px var(--shadow);
    text-align: center;
}

.fee-info-box i {
    font-size: 3rem;
    color: #3f51b5;
    margin-bottom: 20px;
}

.fee-info-box h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.fee-info-box > p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 25px;
}

.fee-detail {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #f5f5f5;
    border-radius: 10px;
}

.fee-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.fee-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3f51b5;
}

.total-fee-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px var(--shadow);
    text-align: center;
}

.total-fee-box h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.fee-formula {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.formula-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.formula-number {
    width: 40px;
    height: 40px;
    background: white;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.formula-item span:last-child {
    font-size: 1.1rem;
    font-weight: 500;
}

.plus {
    font-size: 2rem;
    font-weight: 700;
}

/* 섹션 13: 학습정리 */
.summary-section {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.summary-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 6px 25px var(--shadow);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
}

.summary-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffa726 0%, #fb8c00 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.summary-card p {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    font-weight: 500;
}

/* 섹션 14: 학습평가 */
.quiz-section {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
}

.quiz-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.quiz-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 6px 25px var(--shadow);
}

.quiz-header {
    margin-bottom: 20px;
}

.quiz-label {
    display: inline-block;
    background: linear-gradient(135deg, #0288d1 0%, #01579b 100%);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 700;
}

.quiz-question {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.6;
}

.quiz-options {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quiz-options li {
    padding: 18px 25px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--text-dark);
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quiz-options li:hover {
    background: #e3f2fd;
    transform: translateX(10px);
}

.quiz-options li.correct {
    background: #c8e6c9;
    border: 2px solid #4caf50;
    transform: translateX(0);
}

.quiz-options li.wrong {
    background: #ffcdd2;
    border: 2px solid #f44336;
    transform: translateX(0);
}

.quiz-options li.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.option-num {
    font-weight: 700;
    color: #0288d1;
    min-width: 25px;
}

.quiz-feedback {
    margin-top: 20px;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.quiz-feedback.correct {
    background: #c8e6c9;
    color: #2e7d32;
    border: 2px solid #4caf50;
}

.quiz-feedback.wrong {
    background: #ffcdd2;
    color: #c62828;
    border: 2px solid #f44336;
}

.quiz-status {
    font-size: 1.5rem;
    margin-left: 10px;
}

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

/* 섹션 15: Q&A */

.use-cases {
    max-width: 900px;
    margin: 0 auto;
}

.case-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.case-list li {
    font-size: 1.4rem;
    padding: 25px 30px 25px 80px;
    background: white;
    border-radius: 15px;
    border-left: 6px solid #4caf50;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.case-list li:hover {
    transform: translateX(10px);
}

.case-list li::before {
    content: "✓";
    position: absolute;
    left: 30px;
    font-size: 2rem;
    color: #4caf50;
    font-weight: 700;
}

.notice-box {
    padding: 30px 40px;
    background: #fff3cd;
    border: 4px solid #ffc107;
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
}

.notice-box p {
    font-size: 1.3rem;
    color: #856404;
    font-weight: 600;
    text-align: center;
}

/* 섹션 15: Q&A */
.qna-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: auto;
    padding: 100px 40px;
}

.qna-description {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 40px;
    text-align: center;
}

.qna-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

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

.form-group label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.required {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    border: 2px solid #e0e7ff;
    border-radius: 10px;
    font-family: 'Noto Sans KR', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(69, 123, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 20px 30px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2c5f7e 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(69, 123, 157, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(69, 123, 157, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    max-width: 700px;
    margin: 30px auto 0;
    padding: 30px;
    background: #d4edda;
    border: 3px solid #28a745;
    border-radius: 15px;
    text-align: center;
    animation: slideDown 0.5s ease;
}

.success-message i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.3rem;
    color: #155724;
    font-weight: 600;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .section {
        padding: 60px 30px;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .main-subtitle {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.3rem;
    }

    .contents-grid {
        grid-template-columns: 1fr;
    }

    .features-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 50px 20px;
        min-height: auto;
    }

    .hero-icon {
        font-size: 4rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .title-highlight {
        font-size: 2.8rem;
        padding: 0 15px;
    }

    .main-subtitle {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 10px;
    }

    .instructor-box {
        padding: 15px 30px;
    }

    .instructor {
        font-size: 1.2rem;
    }

    .deco-line {
        width: 50px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .subsection-title {
        font-size: 1.5rem;
    }

    .objective-item {
        padding: 20px;
        gap: 15px;
    }

    .objective-item .number {
        font-size: 1.8rem;
    }

    .objective-item p {
        font-size: 1.1rem;
    }

    .content-number {
        font-size: 2rem;
    }

    .content-item p {
        font-size: 1.1rem;
    }

    .definition-box {
        padding: 30px;
    }

    .definition-text {
        font-size: 1.3rem;
        line-height: 2;
    }

    .case-list li {
        font-size: 1.1rem;
        padding-left: 60px;
    }

    .feature-box {
        padding: 30px;
    }

    .feature-header h4 {
        font-size: 1.5rem;
    }

    .feature-list li {
        font-size: 1.1rem;
    }

    .qna-form {
        padding: 30px 20px;
    }

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        bottom: 30px;
        right: 30px;
        font-size: 1.2rem;
    }

    .news-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-icon {
        font-size: 3rem;
    }

    .main-title {
        font-size: 2rem;
    }

    .title-highlight {
        font-size: 2.2rem;
    }

    .main-subtitle {
        font-size: 1.2rem;
    }

    .instructor-box {
        padding: 12px 25px;
    }

    .instructor {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .objective-item p {
        font-size: 1rem;
    }

    .definition-text {
        font-size: 1.1rem;
    }

    .case-list li {
        font-size: 1rem;
    }

    .feature-list li {
        font-size: 1rem;
    }

    .feature-header h4 {
        font-size: 1.3rem;
    }

    .target-list {
        grid-template-columns: 1fr;
    }

    .verification-box {
        flex-direction: column;
    }

    .procedure-container {
        grid-template-columns: 1fr;
    }

    .summary-cards {
        grid-template-columns: 1fr;
    }

    .doc-stack {
        flex-direction: column;
    }
}
