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

* {
    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: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1629 100%);
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 科技背景容器 */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 网格背景 */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.4;
}

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

/* 粒子效果 */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(102, 126, 234, 1), transparent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    animation: particleFloat 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(4) { left: 40%; animation-delay: 0.5s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 1.5s; animation-duration: 13s; }
.particle:nth-child(6) { left: 60%; animation-delay: 2.5s; animation-duration: 17s; }
.particle:nth-child(7) { left: 70%; animation-delay: 0.8s; animation-duration: 15s; }
.particle:nth-child(8) { left: 80%; animation-delay: 1.8s; animation-duration: 19s; }
.particle:nth-child(9) { left: 90%; animation-delay: 0.3s; animation-duration: 11s; }
.particle:nth-child(10) { left: 15%; animation-delay: 1.2s; animation-duration: 20s; }
.particle:nth-child(11) { left: 25%; animation-delay: 2.2s; animation-duration: 14s; }
.particle:nth-child(12) { left: 35%; animation-delay: 0.7s; animation-duration: 16s; }
.particle:nth-child(13) { left: 45%; animation-delay: 1.7s; animation-duration: 18s; }
.particle:nth-child(14) { left: 55%; animation-delay: 0.4s; animation-duration: 13s; }
.particle:nth-child(15) { left: 65%; animation-delay: 1.4s; animation-duration: 15s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) scale(0.5);
        opacity: 0;
    }
}

/* 数据流动线条 */
.animated-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.line {
    position: absolute;
    opacity: 0.8;
    filter: blur(1px);
}

.line-1 {
    width: 3px;
    height: 200%;
    left: 10%;
    background: linear-gradient(180deg, transparent, #00ffff, #667eea, transparent);
    animation: moveLine1 6s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.line-2 {
    width: 200%;
    height: 3px;
    top: 20%;
    background: linear-gradient(90deg, transparent, #ff00ff, #764ba2, transparent);
    animation: moveLine2 8s linear infinite;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.line-3 {
    width: 3px;
    height: 200%;
    right: 15%;
    background: linear-gradient(180deg, transparent, #00ffff, #667eea, transparent);
    animation: moveLine3 7s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.line-4 {
    width: 200%;
    height: 3px;
    top: 60%;
    background: linear-gradient(90deg, transparent, #ff00ff, #764ba2, transparent);
    animation: moveLine4 9s linear infinite;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.6);
}

.line-5 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00ffff;
    border-right-color: #ff00ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateLine 15s linear infinite;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.4);
}

.line-6 {
    width: 2px;
    height: 150%;
    left: 25%;
    background: linear-gradient(180deg, transparent, #00ff88, transparent);
    animation: moveLine1 10s linear infinite;
    opacity: 0.5;
}

.line-7 {
    width: 150%;
    height: 2px;
    top: 40%;
    background: linear-gradient(90deg, transparent, #ff8800, transparent);
    animation: moveLine2 11s linear infinite;
    opacity: 0.5;
}

.line-8 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px solid rgba(102, 126, 234, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateLine 25s linear infinite reverse;
}

@keyframes moveLine1 {
    0% {
        transform: translateY(-50%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(calc(100vh - 50%));
        opacity: 0;
    }
}

@keyframes moveLine2 {
    0% {
        transform: translateX(-50%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw - 50%));
        opacity: 0;
    }
}

@keyframes moveLine3 {
    0% {
        transform: translateY(calc(100vh - 50%));
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-50%);
        opacity: 0;
    }
}

@keyframes moveLine4 {
    0% {
        transform: translateX(calc(100vw - 50%));
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(-50%);
        opacity: 0;
    }
}

@keyframes rotateLine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* 全息光效 */
.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent),
        linear-gradient(180deg, transparent, rgba(255, 0, 255, 0.1), transparent);
    animation: hologramShift 4s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes hologramShift {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(0);
    }
    50% {
        opacity: 0.6;
        transform: translateX(20px);
    }
}

/* 扫描线效果 */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.8), transparent);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    animation: scanLine 3s linear infinite;
}

@keyframes scanLine {
    0% {
        top: 0;
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

.container {
    max-width: 750px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    min-height: 100vh;
    box-shadow: 
        0 0 30px rgba(102, 126, 234, 0.3),
        0 0 60px rgba(118, 75, 162, 0.2),
        inset 0 0 100px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #00ffff 100%);
    background-size: 200% 200%;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, #00ffff, #ff00ff, #00ffff) 1;
    animation: borderGlow 2s ease-in-out infinite;
    box-shadow: 
        inset 0 0 30px rgba(0, 255, 255, 0.3),
        0 0 40px rgba(0, 255, 255, 0.2);
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.5;
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 1;
        filter: hue-rotate(90deg);
    }
}

.logo-section {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.company-name {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(0, 255, 255, 0.5),
        0 0 30px rgba(102, 126, 234, 0.5);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(0, 255, 255, 0.5),
            0 0 30px rgba(102, 126, 234, 0.5);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 40px rgba(0, 255, 255, 0.8),
            0 0 60px rgba(102, 126, 234, 0.8);
    }
}

.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 transparent;
    border-image: linear-gradient(90deg, transparent, #667eea, #00ffff, #667eea, transparent) 1;
    position: relative;
    overflow: hidden;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, #ff00ff, #00ffff, transparent);
    animation: titleLine 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

@keyframes titleLine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #00ffff, #667eea, #ff00ff);
    animation: expandLine 1.5s ease-out infinite;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@keyframes expandLine {
    0%, 100% {
        width: 60px;
    }
    50% {
        width: 120px;
    }
}

.content-box {
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(180deg, #00ffff, #667eea, #ff00ff) 1;
    margin-top: 15px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #00ffff, #667eea, #ff00ff);
    animation: borderPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.6);
}

@keyframes borderPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
        filter: hue-rotate(0deg);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(1.1);
        filter: hue-rotate(90deg);
    }
}

.content-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.05) 50%, transparent 70%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.content-box:hover {
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.3),
        0 0 40px rgba(0, 255, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.01);
    border-image: linear-gradient(180deg, #00ffff, #667eea, #ff00ff) 1;
}

.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;
    animation: checkmarkPulse 2s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
}

@keyframes checkmarkPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5)) hue-rotate(0deg);
    }
    50% {
        transform: scale(1.3);
        opacity: 0.9;
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.8)) hue-rotate(90deg);
    }
}

/* 联系方式 */
.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: linear-gradient(135deg, #1a1f3a 0%, #2c3e50 100%);
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.5), transparent) 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.8), rgba(255, 0, 255, 0.8), transparent);
    animation: footerLine 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

@keyframes footerLine {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 255, 0.05) 50%, transparent 70%);
    animation: footerShimmer 4s infinite;
    pointer-events: none;
}

@keyframes footerShimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.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;
    }

    /* 移动端简化线条动效 */
    .line-5, .line-8 {
        display: none;
    }

    .line-1, .line-3, .line-6 {
        opacity: 0.3;
    }

    .line-2, .line-4, .line-7 {
        opacity: 0.3;
    }
    
    .particle {
        opacity: 0.5;
    }
    
    .grid-overlay {
        opacity: 0.2;
    }
    
    .scan-line {
        display: none;
    }
}

/* 动画效果 */
@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;
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(-10px);
    }
}

.service-img {
    width: auto;
    height: auto;
    max-width: 240px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5)) drop-shadow(0 0 40px rgba(0, 255, 255, 0.3));
    transition: all 0.3s ease;
    animation: imgGlow 3s ease-in-out infinite;
}

@keyframes imgGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5)) drop-shadow(0 0 40px rgba(0, 255, 255, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(102, 126, 234, 0.8)) drop-shadow(0 0 60px rgba(0, 255, 255, 0.6));
    }
}

.service-img:hover {
    filter: drop-shadow(0 0 40px rgba(102, 126, 234, 1)) drop-shadow(0 0 80px rgba(0, 255, 255, 0.8)) drop-shadow(0 0 120px rgba(255, 0, 255, 0.5));
    transform: scale(1.08) rotate(2deg);
}

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

