/* 이용약관 페이지 전용 스타일 */

/* 메인 컨테이너 */
.terms-main {
    padding: 8rem 0 4rem;
    background: var(--white);
    min-height: 100vh;
}

/* 헤더 영역 */
.terms-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.terms-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.last-updated {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* 콘텐츠 영역 */
.terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.terms-section {
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-200);
}

.terms-section:last-child {
    margin-bottom: 0;
}

.terms-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-blue);
}

/* 텍스트 스타일 */
.content-text {
    line-height: 1.8;
}

.content-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.content-text p:last-child {
    margin-bottom: 0;
}

.content-text ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.content-text li {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
}

.content-text li::marker {
    color: var(--primary);
}

.content-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 중첩된 리스트 스타일 */
.content-text ul ul {
    margin: 0.75rem 0;
    padding-left: 1.25rem;
}

.content-text ul ul li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* 번호가 있는 문단 스타일 */
.content-text p:first-child {
    font-weight: 500;
}

/* 버전 정보 */
.version-info {
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.version-info p {
    margin: 0;
    font-weight: 600;
    color: var(--text-primary);
}

/* 강조 박스 */
.highlight-box {
    background: linear-gradient(135deg, var(--light-blue), #e0f2fe);
    border-radius: 12px;
    padding: 2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.highlight-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .terms-main {
        padding: 6rem 0 3rem;
    }
    
    .terms-header h1 {
        font-size: 2rem;
    }
    
    .terms-header {
        margin-bottom: 3rem;
    }
    
    .terms-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .terms-section h2 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .content-text p,
    .content-text li {
        font-size: 0.95rem;
    }
    
    .content-text ul {
        padding-left: 1.25rem;
    }
    
    .highlight-box {
        padding: 1.5rem;
    }
    
    .highlight-box h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .terms-main {
        padding: 5rem 0 2rem;
    }
    
    .terms-header h1 {
        font-size: 1.75rem;
    }
    
    .terms-section {
        padding: 1.5rem 1rem;
    }
    
    .terms-section h2 {
        font-size: 1.125rem;
    }
    
    .content-text p,
    .content-text li {
        font-size: 0.9rem;
    }
    
    .content-text ul {
        padding-left: 1rem;
    }
    
    .content-text ul ul {
        padding-left: 1rem;
    }
    
    .highlight-box {
        padding: 1.25rem;
    }
    
    .version-info {
        padding: 1.25rem;
    }
}