/* 未成年家长监护工程体系页面专用样式 */

/* 未成年家长监护工程体系区域 */
.under-age {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 40px;
}

.under-age-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.under-age-header h2 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.under-age-content {
    padding: 40px;
}

/* 章节样式 */
.section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #3498db;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.section:last-child {
    margin-bottom: 0;
}

.section h3 {
    font-size: 20px;
    color: #2c3e50;
    font-weight: bold;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

.section h4 {
    font-size: 18px;
    color: #34495e;
    font-weight: bold;
    margin: 20px 0 15px 0;
}

.section h5 {
    font-size: 16px;
    color: #e74c3c;
    font-weight: bold;
    margin: 15px 0 10px 0;
}

/* 内容文本 */
.content-text {
    color: #495057;
    line-height: 1.8;
}

.content-text p {
    font-size: 16px;
    margin: 0 0 15px 0;
    text-align: justify;
    text-indent: 2em;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* 提示列表 */
.tips-list {
    margin-top: 20px;
}

.tip-item {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    padding: 15px;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.tip-number {
    font-size: 16px;
    font-weight: bold;
    color: #e74c3c;
    margin-right: 10px;
    flex-shrink: 0;
}

.tip-text {
    font-size: 15px;
    color: #495057;
    line-height: 1.6;
    flex: 1;
}

/* 引导章节 */
.guide-section {
    margin-bottom: 25px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.guide-section h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

/* 列表样式 */
.condition-list,
.material-list,
.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.condition-list li,
.material-list li,
.requirement-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.condition-list li:before,
.material-list li:before,
.requirement-list li:before {
    content: '•';
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.condition-list li:last-child,
.material-list li:last-child,
.requirement-list li:last-child {
    border-bottom: none;
}

/* 下载链接 */
.download-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
    margin-left: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: rgba(231, 76, 60, 0.1);
    transition: all 0.3s ease;
}

.download-link:hover {
    background-color: #e74c3c;
    color: white;
    transform: scale(1.05);
}

/* 联系信息 */
.contact-info {
    background-color: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
    margin-top: 10px;
}

.contact-info p {
    margin: 0;
    font-size: 15px;
    color: #1976d2;
    text-indent: 0;
}

/* 监督方式 */
.supervision-method {
    background-color: #ffebee;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #f44336;
    margin-top: 10px;
}

.supervision-method h5 {
    color: #d32f2f;
    margin-bottom: 10px;
}

.supervision-method p {
    margin: 0;
    font-size: 15px;
    color: #c62828;
    text-indent: 0;
}

/* 常见问题解答 */
.faq-list {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.faq-item h4 {
    color: #f57c00;
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.4;
}

.faq-item p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    text-indent: 0;
}

.faq-item p:last-child {
    margin-bottom: 0;
}

.faq-item ul {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-item ul li {
    margin-bottom: 5px;
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

/* 邮寄地址 */
.mailing-address {
    background-color: #f3e5f5;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9c27b0;
    margin-top: 10px;
}

.mailing-address p {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #7b1fa2;
    text-indent: 0;
}

.mailing-address p:last-child {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .under-age-header {
        padding: 20px;
    }
    
    .under-age-header h2 {
        font-size: 24px;
    }
    
    .under-age-content {
        padding: 20px;
    }
    
    .section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .section h3 {
        font-size: 18px;
    }
    
    .section h4 {
        font-size: 16px;
    }
    
    .content-text p {
        font-size: 14px;
        text-indent: 1em;
    }
    
    .tip-item {
        flex-direction: column;
        padding: 12px;
    }
    
    .tip-number {
        margin-bottom: 5px;
        margin-right: 0;
    }
    
    .tip-text {
        font-size: 14px;
    }
    
    .guide-section {
        padding: 15px;
    }
    
    .faq-item {
        padding: 15px;
    }
    
    .faq-item h4 {
        font-size: 15px;
    }
    
    .faq-item p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .under-age-header {
        padding: 15px;
    }
    
    .under-age-header h2 {
        font-size: 20px;
    }
    
    .under-age-content {
        padding: 15px;
    }
    
    .section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .section h3 {
        font-size: 16px;
    }
    
    .section h4 {
        font-size: 15px;
    }
    
    .content-text p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .tip-item {
        padding: 10px;
    }
    
    .tip-text {
        font-size: 13px;
    }
    
    .guide-section {
        padding: 12px;
    }
    
    .faq-item {
        padding: 12px;
    }
    
    .faq-item h4 {
        font-size: 14px;
    }
    
    .faq-item p {
        font-size: 12px;
    }
}

/* 页面加载动画 */
.under-age {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.section:nth-child(1) { animation-delay: 0.2s; }
.section:nth-child(2) { animation-delay: 0.4s; }
.section:nth-child(3) { animation-delay: 0.6s; }
.section:nth-child(4) { animation-delay: 0.8s; }
.section:nth-child(5) { animation-delay: 1.0s; }
.section:nth-child(6) { animation-delay: 1.2s; }
.section:nth-child(7) { animation-delay: 1.4s; }

.tip-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s ease forwards;
}

.tip-item:nth-child(1) { animation-delay: 1.6s; }
.tip-item:nth-child(2) { animation-delay: 1.7s; }
.tip-item:nth-child(3) { animation-delay: 1.8s; }
.tip-item:nth-child(4) { animation-delay: 1.9s; }
.tip-item:nth-child(5) { animation-delay: 2.0s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-item {
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.5s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 2.1s; }
.faq-item:nth-child(2) { animation-delay: 2.2s; }
.faq-item:nth-child(3) { animation-delay: 2.3s; }
.faq-item:nth-child(4) { animation-delay: 2.4s; }
.faq-item:nth-child(5) { animation-delay: 2.5s; }
.faq-item:nth-child(6) { animation-delay: 2.6s; }
.faq-item:nth-child(7) { animation-delay: 2.7s; }

/* 特殊效果 */
.section:hover h3 {
    color: #3498db;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.tip-item:hover .tip-number {
    color: #c0392b;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.download-link:active {
    transform: scale(0.95);
}

.faq-item:hover h4 {
    color: #e65100;
    transform: translateX(3px);
    transition: all 0.3s ease;
}
