﻿:root {
    --primary-color: #07c160;
    --primary-light: rgba(7, 193, 96, 0.1);
    --primary-dark: #06ad56;
    --secondary-color: #10aeff;
    --secondary-light: rgba(16, 174, 255, 0.1);
    --tertiary-color: #8e44ad;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --text-lighter: #bdc3c7;
    --line-color: #ecf0f1;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-dark: rgba(0, 0, 0, 0.15);
    --hover-background: rgba(0, 0, 0, 0.03);
    --overlay-color: rgba(0, 0, 0, 0.5);
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --warning-color: #f39c12;
}

[data-theme="dark"] {
    --primary-color: #07c160;
    --primary-light: rgba(7, 193, 96, 0.2);
    --secondary-color: #10aeff;
    --secondary-light: rgba(16, 174, 255, 0.2);
    --background-color: #1a1a1a;
    --card-background: #2d2d2d;
    --text-color: #f5f5f5;
    --text-light: #b3b3b3;
    --text-lighter: #666666;
    --line-color: #3d3d3d;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --shadow-dark: rgba(0, 0, 0, 0.5);
    --hover-background: rgba(255, 255, 255, 0.05);
}

[data-theme="blue"] {
    --primary-color: #2980b9;
    --primary-light: rgba(41, 128, 185, 0.1);
    --primary-dark: #2472a4;
    --secondary-color: #3498db;
    --secondary-light: rgba(52, 152, 219, 0.1);
    --background-color: #f0f7fc;
    --card-background: #ffffff;
}

[data-theme="purple"] {
    --primary-color: #8e44ad;
    --primary-light: rgba(142, 68, 173, 0.1);
    --primary-dark: #7d3c98;
    --secondary-color: #9b59b6;
    --secondary-light: rgba(155, 89, 182, 0.1);
    --background-color: #f9f0ff;
    --card-background: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wx-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: -2;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(90deg); }
    50% { transform: translate(100px, 0) rotate(180deg); }
    75% { transform: translate(50px, -50px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

.wx-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wx-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.wx-logo {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    transition: transform 0.3s ease;
}

.wx-logo:hover {
    transform: rotate(15deg);
}

.wx-brand-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.menu-button {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.menu-button:hover {
    background: var(--hover-background);
    transform: rotate(90deg);
}

.menu-modal {
    position: absolute;
    top: 75px;
    right: 5%;
    background: var(--card-background);
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-dark);
    padding: 8px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.menu-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

.menu-item:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.menu-divider {
    height: 1px;
    background: var(--line-color);
    margin: 8px 0;
}

.theme-switcher {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--card-background);
    border-radius: 16px;
    box-shadow: 0 10px 40px var(--shadow-dark);
    padding: 20px;
    width: 90%;
    max-width: 400px;
    opacity: 0;
    visibility: hidden;
    z-index: 1100;
    transition: all 0.3s ease;
}

.theme-switcher.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.theme-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.theme-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.theme-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.theme-close:hover {
    color: var(--text-color);
    background: var(--hover-background);
}

.theme-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.theme-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.theme-option:hover {
    background: var(--hover-background);
}

.theme-preview {
    width: 100%;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 2px solid var(--line-color);
}

.default-theme {
    background: linear-gradient(135deg, #07c160 0%, #10aeff 100%);
}

.dark-theme {
    background: linear-gradient(135deg, #333 0%, #666 100%);
}

.blue-theme {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%);
}

.purple-theme {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.theme-option span {
    font-size: 14px;
    color: var(--text-color);
}

.wx-container {
    width: 95%;
    max-width: 1200px;
    margin: 90px auto 140px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.wx-hero {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 10%;
    animation: fadeInUp 0.8s ease;
}

.wx-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.wx-hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.wx-card {
    width: 100%;
    background: var(--card-background);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease;
}

.card-elevated {
    box-shadow: 0 5px 15px var(--shadow-color);
}

.card-elevated:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.wx-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line-color);
    position: relative;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.wx-card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.card-badge {
    position: absolute;
    right: 20px;
    top: 20px;
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

.wx-cell {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wx-cell:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--line-color);
}

.wx-cell:active {
    background: var(--hover-background);
}

.cell-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    flex-shrink: 0;
    font-size: 18px;
}

.wx-cell__bd {
    flex: 1;
}

.cell-title {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 3px;
}

.cell-subtitle {
    font-size: 14px;
    color: var(--text-light);
}

.wx-cell__ft {
    font-size: 17px;
    font-weight: 500;
    color: var(--text-light);
    margin-right: 15px;
}

.wx-cell__arrow {
    color: var(--text-lighter);
    transition: transform 0.3s ease;
}

.wx-cell__arrow i {
    font-size: 15px;
}

.contact-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 10px 20px 20px;
    background: var(--primary-light);
    border-radius: 12px;
    animation: fadeIn 0.8s ease;
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-tags {
    display: flex;
    gap: 5px;
}

.tag {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    padding: 2px 8px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.qrcode-section {
    padding: 25px;
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.qrcode-container {
    position: relative;
    margin: 0 auto;
    width: fit-content;
}

.qrcode-frame {
    width: 220px;
    height: 220px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: 0 4px 16px var(--shadow-color);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.qrcode-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.qrcode-frame:hover .qrcode-image {
    transform: scale(1.03);
}

.qrcode-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    z-index: 0;
    opacity: 0.2;
}

.qrcode-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.qrcode-frame:hover .qrcode-overlay {
    opacity: 1;
}

.qrcode-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.qrcode-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.wx-tips {
    margin-top: 25px;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    animation: fadeIn 1s ease;
}

.wx-tips h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-color);
}

.wx-tips p {
    font-size: 14px;
}

.wx-timeline {
    padding: 20px 0;
    animation: fadeIn 0.8s ease;
}

.timeline-item {
    position: relative;
    padding: 0 0 30px 40px;
    margin-left: 20px;
}

.timeline-item:last-child {
    padding-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.dot-primary {
    background: var(--primary-color);
    box-shadow: 0 0 0 6px var(--primary-light);
}

.dot-secondary {
    background: var(--secondary-color);
    box-shadow: 0 0 0 6px var(--secondary-light);
}

.dot-tertiary {
    background: var(--tertiary-color);
    box-shadow: 0 0 0 6px rgba(142, 68, 173, 0.1);
}

.timeline-content {
    display: flex;
    padding: 2px 0;
}

.timeline-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--line-color);
    margin-right: 20px;
    min-width: 30px;
    line-height: 1;
}

.timeline-text {
    flex: 1;
}

.timeline-text h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.timeline-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: all 0.3s ease;
    background: var(--primary-light);
    border-radius: 0 0 12px 12px;
}

.faq-content.active {
    max-height: 200px;
    padding: 15px 20px;
}

.faq-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.wx-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-background);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    box-shadow: 0 -5px 15px var(--shadow-color);
    z-index: 999;
}

.footer-btn {
    flex: 1;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.footer-btn i {
    font-size: 18px;
}

.btn-copy {
    background: var(--card-background);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-copy:hover {
    background: var(--primary-light);
}

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

.btn-wechat:hover {
    background: var(--primary-dark);
}

.wx-copyright {
    text-align: center;
    padding: 30px 5% 120px;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
}

.copyright-content p:first-child {
    margin-bottom: 5px;
    font-weight: 500;
}

.copyright-content p:last-child {
    font-size: 12px;
}

.wx-toast-container {
    position: fixed;
    bottom: 100px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 5%;
    z-index: 1100;
    pointer-events: none;
}

.wx-toast {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wx-toast i {
    font-size: 16px;
}

.wx-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.wx-toast.success i {
    color: #2ecc71;
}

.wx-toast.error i {
    color: #e74c3c;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@media (max-width: 1024px) {
    .wx-container {
        max-width: 95%;
    }
    
    .wx-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .wx-navbar {
        padding: 0 20px;
    }
    
    .wx-container {
        margin-top: 80px;
        padding: 0 2.5%;
        width: 95%;
    }
    
    .wx-hero {
        padding: 0;
    }
    
    .wx-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .wx-navbar {
        height: 60px;
        padding: 0 15px;
    }
    
    .wx-container {
        margin-top: 70px;
        padding: 0 2.5%;
        width: 95%;
        gap: 15px;
    }
    
    .wx-hero h1 {
        font-size: 1.8rem;
    }
    
    .wx-hero p {
        font-size: 1rem;
    }
    
    .wx-card-header {
        padding: 15px;
    }
    
    .header-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .wx-card-title {
        font-size: 18px;
    }
    
    .wx-cell {
        padding: 15px;
    }
    
    .cell-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .qrcode-frame {
        width: 180px;
        height: 180px;
    }
    
    .wx-footer {
        padding: 10px 15px;
    }
    
    .footer-btn {
        padding: 12px;
        font-size: 15px;
    }
}
/* 修改背景部分 */
.wx-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    z-index: -2;
    overflow: hidden;
}

.bg-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.bg-particle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
    animation-duration: 20s;
}

.bg-particle:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
    animation-duration: 25s;
}

.bg-particle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    right: -50px;
    animation-delay: 10s;
    animation-duration: 15s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, 50px) rotate(90deg);
    }
    50% {
        transform: translate(100px, 0) rotate(180deg);
    }
    75% {
        transform: translate(50px, -50px) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}
