/* 备案审核用单页网站样式 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

/* 响应式图片处理 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 页脚固定在底部 */
footer {
    position: relative;
    width: 100%;
    bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    main {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem !important;
    }
    
    p {
        font-size: 1rem !important;
    }
    
    button {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
    }
    
    main {
        margin: 0;
        max-width: none;
    }
    
    footer {
        position: relative;
        page-break-after: always;
    }
}

/* 无障碍优化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    body {
        background-color: #fff;
        color: #000;
    }
    
    .bg-primary {
        background-color: #000 !important;
        color: #fff !important;
    }
    
    .bg-gray-100, .bg-gray-200 {
        background-color: #ddd !important;
    }
}