/**
 * 微信申诉页面样式
 * 设计原则：简洁、专业、合规
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 750px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.logo-section {
    max-width: 600px;
    margin: 0 auto;
}

.company-name {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.company-subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* 主要内容区域 */
.main-content {
    padding: 30px 20px;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #764ba2;
}

.content-box {
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-top: 15px;
}

.text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
    text-align: justify;
}

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

/* 业务列表 */
.business-list {
    list-style: none;
    padding: 0;
}

.business-list li {
    font-size: 16px;
    color: #555;
    padding: 12px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.business-list li:last-child {
    border-bottom: none;
}

.business-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 18px;
}

/* 联系方式 */
.contact-info {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.contact-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 16px;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    color: #666;
    font-weight: 500;
    min-width: 100px;
    flex-shrink: 0;
}

.contact-value {
    color: #333;
    flex: 1;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.icp-info {
    margin-bottom: 15px;
    font-size: 14px;
}

.icp-info a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.icp-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.footer-note {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 10px;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .company-name {
        font-size: 24px;
    }

    .company-subtitle {
        font-size: 12px;
    }

    .section-title {
        font-size: 18px;
    }

    .text-content {
        font-size: 15px;
    }

    .contact-item {
        flex-direction: column;
    }

    .contact-label {
        margin-bottom: 5px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .header {
        padding: 30px 15px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeIn 0.6s ease-out;
}

/* 确保链接样式合规 */
a {
    color: inherit;
    text-decoration: none;
}

/* 防止用户选择文本（可选，根据需求决定） */
body {
    -webkit-user-select: none;
    user-select: none;
}

p, li, span {
    -webkit-user-select: text;
    user-select: text;
}

/* 右侧悬浮客服二维码 */
.float-service {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.service-img {
    width: auto;
    height: auto;
    max-width: 240px;
    display: block;
}

/* 移动端隐藏悬浮客服 */
@media (max-width: 768px) {
    .float-service {
        display: none;
    }
}

