* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

:root {
    --primary-color: #1a6dfc;
    --primary-dark: #0d4fc2;
    --secondary-color: #10b981;
    --accent-color: #8B5CF6;
    --accent-dark: #7C3AED;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --light-bg: #f5f7fa;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* 头部导航 */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 100, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    width:200px;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.cert-badge {
    background: #d32f2f;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    max-width: 180px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 14px;
    border: none;
}

.btn i {
    margin-right: 8px;
}

.btn-login {
    background: transparent;
    color: #555;
    margin-right: 15px;
}

.btn-login:hover {
    color: var(--primary-color);
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 10px rgba(26, 109, 252, 0.3);
}

.btn-register:hover {
    background: linear-gradient(135deg, var(--primary-dark), #0a3da8);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(26, 109, 252, 0.4);
}
/* 页脚 */
.footer {
    background: #2d3748;
    color: white;
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    gap: 30px;
    text-align: center;
    flex: 1;
    justify-items: center;
    justify-content: center;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-cert {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* 右侧悬浮工具栏 */
.floating-toolbar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 15px 10px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.toolbar-item {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toolbar-item:hover {
    transform: scale(1.1);
}

.toolbar-item i {
    font-size: 20px;
}

.toolbar-item .tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.toolbar-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 65px;
}

.toolbar-item .tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* 二维码弹窗 */
.qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qrcode-modal.active {
    opacity: 1;
    visibility: visible;
}

.qrcode-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.qrcode-modal.active .qrcode-content {
    transform: scale(1);
}

.qrcode-box {
    width: 200px;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 8px;
}

.qrcode-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.qrcode-desc {
    color: #666;
    margin-bottom: 20px;
}

.close-qrcode {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.close-qrcode:hover {
    background: var(--primary-dark);
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: #2d3748;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.qrcode {
    text-align: center;
}

.qrcode-box {
    width: 150px;
    height: 150px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 8px;
}

.qrcode-box span {
    color: #999;
}

.contact-links h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.contact-links ul {
    list-style: none;
}

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

.contact-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.contact-links a:hover {
    color: white;
}



/* 响应式设计 */
@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .banner-title {
        font-size: 42px;
    }

    .payment-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .test-payment-container {
        flex-direction: column;
        gap: 20px;
    }

    .payment-form {
        flex-direction: column;
        width: 100%;
    }

    .test-payment-title {
        text-align: center;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .process-step {
        flex: 0 0 calc(50% - 20px);
    }

    .contact-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .cert-badge {
        margin-top: 10px;
    }

    .banner-title {
        font-size: 36px;
    }

    .banner-actions {
        flex-direction: column;
        align-items: center;
    }

    .payment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .process-step {
        flex: 0 0 100%;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .floating-toolbar {
        right: 10px;
    }

    .toolbar-item {
        width: 45px;
        height: 45px;
    }

    .toolbar-item i {
        font-size: 18px;
    }
}
		