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

a {
    text-decoration: none;
    color: inherit;
}

a:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 35px rgba(0,0,0,0.08);
    --shadow-primary: 0 8px 20px rgba(37,99,235,0.2);
    --border-light: 1px solid rgba(226,232,240,0.8);
    --transition: all 0.25s cubic-bezier(0.2,0,0,1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    color: var(--gray-900);
    line-height: 1.5;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 滚动动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2,0,0,1), transform 0.6s cubic-bezier(0.2,0,0,1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border-color: var(--gray-200);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--gray-50);
}

.btn-light {
    background: white;
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
    border: var(--border-light);
}

.btn-light:hover {
    background: var(--gray-50);
    box-shadow: var(--shadow-md);
}

/* 导航栏 */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 12px 0;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255,255,255,0.95);
    border-bottom-color: var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 36px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.nav-item {
    padding: 8px 16px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 40px;
    font-size: 15px;
    transition: var(--transition);
}

.nav-item:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.nav-auth {
    display: flex;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 40px;
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

/* 合作伙伴徽章 */
.partner-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 24px;
    background: transparent; 
    border-radius: 60px;
    
    font-size: 14px;
    color: #0369a1;
    flex-wrap: wrap;
}

.partner-icon {
    font-size: 20px;
}

.partner-text {
    font-weight: 500;
}

.partner-text strong {
    color: #0284c7;
}

.partner-license {
    background: transparent;
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* 轮播 */
.swiper-container {
    width: 100%;
    max-width: 100%;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: var(--border-light);
    min-height: 460px;
    overflow: hidden;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.slide-content {
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.slide-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    color: var(--gray-600);
    margin-bottom: 36px;
}

.slide-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}



.swiper-button-prev,
.swiper-button-next {
    display: none;
}

/* 区块样式 */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-600);
}

.bg-light {
    background: var(--gray-50);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 28px;
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: var(--border-light);
    transition: all 0.4s;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 72px;
    height: 72px;
    background: var(--gray-50);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 32px;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: var(--primary);
    color: white;
    transform: rotate(5deg) scale(1.05);
}

.product-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-card p {
    color: var(--gray-600);
    font-size: 15px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.advantage-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 24px;
    transition: var(--transition);
}

.advantage-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-sm);
}

.advantage-item:hover .advantage-icon {
    background: var(--primary);
    color: white;
}

.advantage-content h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.advantage-content p {
    color: var(--gray-600);
    font-size: 15px;
}

.cta-section {
    background: transparent;
    color: #000000;
    border-radius: 48px;
    padding: 72px 56px;
    text-align: center;
    margin: 40px 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cta-section h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 36px;
    color: #333333;
}

.cta-section .btn-light {
    background: #2563eb;
    color: white;
    padding: 14px 40px;
    border: none;
}

.cta-section .btn-light:hover {
    background: #1d4ed8;
    color: white;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 28px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s;
    border: var(--border-light);
}

.feature-card:hover {
    background: var(--gray-50);
    transform: translateY(-8px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gray-50);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 30px;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: white;
}

.feature-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* 页脚合规声明 */
.footer-compliance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: var(--border-light);
    flex-wrap: wrap;
}

.compliance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
}

.compliance-icon {
    font-size: 16px;
}

.compliance-item strong {
    color: var(--primary);
    font-weight: 600;
}

/* 页脚 */
.footer {
    background: white;
    border-top: var(--border-light);
    padding: 56px 0 28px;
    color: var(--gray-600);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo img {
    height: 32px;
    margin-bottom: 20px;
}

.footer-links h6,
.footer-contact h6 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--gray-600);
    font-size: 15px;
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: var(--border-light);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
}

.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-light);
    font-size: 24px;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 100;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--primary);
    color: white;
}

/* 响应式 */
@media (max-width: 992px) {
    .product-grid,
    .advantage-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 28px 20px;
        box-shadow: var(--shadow-lg);
        gap: 20px;
    }

    .nav.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        display: block;
        padding: 14px 20px;
    }

    .nav-auth {
        flex-direction: column;
        width: 100%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .swiper-container {
        min-height: 420px;
    }

    .swiper-slide {
        padding: 40px 20px;
    }

    .slide-content h2 {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .slide-content p {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .slide-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .slide-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
        font-size: 16px;
    }

    .product-grid,
    .advantage-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .section-header h3 {
        font-size: 32px;
    }

    .cta-section {
        padding: 48px 24px;
    }

    .cta-section h3 {
        font-size: 28px;
    }

    .partner-badge {
        gap: 8px;
        padding: 12px 16px;
    }

    .partner-license {
        font-size: 11px;
        padding: 3px 10px;
    }

    .footer-compliance {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-beian-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .gongan-beian,
    .business-license,
    .payment-license {
        margin-left: 0 !important;
    }
    
}