/* Footer Styles for hbyv10syb1 Template */

.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

/* Service Promise Section */
.service-promise {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    border-bottom: 1px solid #333;
    position: relative;
}

.service-promise::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.promise-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promise-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.promise-item:hover::before {
    left: 100%;
}

.promise-item:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.promise-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.promise-item:hover .promise-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

.promise-content {
    position: relative;
    z-index: 2;
}

.promise-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.promise-item p {
    font-size: 0.9rem;
    color: #b0b0b0;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/* Main Footer Content */
.footer-main {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    align-items: flex-start;
}

/* 页脚导航菜单区域 */
.footer-nav-left {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    grid-column: 2;
}

.footer-nav-left .footer-section {
    min-width: 0;
}

.footer-nav-left .footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav-left .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 1px;
}

.footer-nav-left .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-left .footer-links li {
    margin-bottom: 0.8rem;
}

.footer-nav-left .footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-nav-left .footer-links a::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.footer-nav-left .footer-links a:hover {
    color: #00d4ff;
    padding-left: 12px;
}

.footer-nav-left .footer-links a:hover::before {
    width: 8px;
}

.footer-section .footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 1px;
}

/* Company Info Section */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 50px;
    object-fit: contain;
}

.footer-desc {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #00d4ff;
    transform: translateX(5px);
}

.contact-item i {
    width: 20px;
    margin-right: 12px;
    color: #00d4ff;
    font-size: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
    padding-left: 15px;
}

.footer-links a:hover::before {
    width: 10px;
}

/* 友情链接区域 */
.footer-links {
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #333;
}

.footer-links .footer-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links .footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    border-radius: 1px;
}

.links-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.links-content a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.links-content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.links-content a:hover::before {
    left: 100%;
}

.links-content a:hover {
    color: #00d4ff;
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.2);
}

/* Contact Info */
.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.contact-item i {
    width: 20px;
    margin-right: 10px;
    color: #00d4ff;
    font-size: 1rem;
}

.contact-item strong {
    color: #ffffff;
    margin-right: 8px;
}

/* QR Codes Section */
.qr-codes {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}

.qr-item {
    text-align: center;
    width: 80px;
}

.qr-code {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #333;
}

.qr-code:hover {
    transform: scale(1.05);
    border-color: #00d4ff;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.qr-item p {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin: 0;
    transition: color 0.3s ease;
}

.qr-item:hover p {
    color: #00d4ff;
}

/* 简约友情链接样式 */
.simple-links {
    margin-top: 30px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.links-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.links-text a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.links-text a:hover {
    color: #007cff;
}

/* Footer Bottom */
.footer-bottom {
    background: #0a0a0a;
    padding: 30px 0;
    border-top: 1px solid #333;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 2rem;
    width: 100%;
}

.footer-icp {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1 1 auto;
    min-width: 0;
    gap: 6px;
}

.left-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.left-info a,
.left-info span {
    color: #999;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.left-info a:hover {
    color: #00d4ff;
}

/* 第二行版权信息 */
.footer-icp .copyright {
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
    width: 100%;
}

/* 右侧社交区域始终靠右 */
.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: auto;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 50%;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
}

.social-link:hover {
    color: #ffffff;
    border-color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .footer-icp {
        align-items: center;
        text-align: center;
    }
    .footer-icp .copyright {
        text-align: center;
    }
    .footer-social {
        margin-left: 0;
        justify-content: center;
        order: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-nav-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .promise-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .promise-item {
        padding: 1.5rem;
    }
    
    .footer-main {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-nav-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        grid-column: 1;
    }
    
    .footer-section .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-nav-left .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a::before {
        display: none;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-nav-left .footer-links a::before {
        display: none;
    }
    
    .footer-nav-left .footer-links a:hover {
        padding-left: 0;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .qr-codes {
        justify-content: center;
    }
    
    .partner-links {
        gap: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-icp {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .copyright {
        order: 2;
        text-align: center;
    }
    
    .footer-social {
        order: 1;
    }
}

@media (max-width: 480px) {
    .service-promise {
        padding: 40px 0;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .promise-item {
        padding: 1.25rem;
    }
    
    .footer-main {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-nav-left {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-text {
        font-size: 1.3rem;
    }
    
    .qr-codes {
        flex-direction: column;
        gap: 1rem;
    }
    
    .qr-code {
        width: 60px;
        height: 60px;
    }
    
    .footer-links-section {
        padding: 20px 0;
    }
    
    .partner-links {
        gap: 0.75rem;
    }
    
    .partner-links a {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link i {
        font-size: 1rem;
    }
}

/* Animation for footer elements */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }