:root {
    --wechat-green: #07C160;
    --wechat-light-green: #91E8B4;
    --primary-text: #191919;
    --secondary-text: #576B95;
    --bg-gray: #F7F7F7;
}

body {
    font-family: -apple-system, Roboto, 'PingFang SC', 'Helvetica Neue', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
    color: var(--primary-text);
    background-color: #fff;
    line-height: 1.6;
}

/* Base Styles */
.text-wechat { color: var(--wechat-green); }
.bg-wechat { background-color: var(--wechat-green); }

.btn-wechat {
    background-color: var(--wechat-green);
    color: white;
    transition: all 0.2s ease;
}

.btn-wechat:hover {
    background-color: #06AD56;
    transform: translateY(-1px);
}

.input-field {
    border: 1px solid #E5E7EB;
    transition: all 0.2s ease;
}

.input-field:focus {
    border-color: var(--wechat-green);
    box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.1);
}

/* Navigation */
.nav-link {
    color: var(--primary-text);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--wechat-green);
}

.nav-active {
    color: var(--wechat-green);
    position: relative;
}

.nav-active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--wechat-green);
}

/* Sidebar styles */
.sidebar-link.active {
    background-color: white;
    color: var(--wechat-green);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.sidebar-link.active svg { color: var(--wechat-green); }

/* Status Badge */
.status-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Filter Tabs */
.filter-tab {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #9CA3AF;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    color: var(--wechat-green);
    background-color: white;
}

.filter-tab.active {
    color: var(--wechat-green);
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Pagination */
.pagination-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #F3F4F6;
    font-size: 12px;
    font-weight: 600;
    color: #9CA3AF;
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
    border-color: var(--wechat-green);
    color: var(--wechat-green);
    background-color: white;
}

.pagination-btn.active {
    background-color: var(--wechat-green);
    color: white;
    border-color: var(--wechat-green);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ticket Detail */
.message-bubble {
    max-width: 80%;
    border-radius: 1.5rem;
    padding: 1.25rem;
}
.message-user {
    background-color: var(--wechat-green);
    color: white;
    border-bottom-right-radius: 0.25rem;
}
.message-admin {
    background-color: white;
    border: 1px solid #eee;
    border-bottom-left-radius: 0.25rem;
}

/* Login Tabs */
.tab-btn.active {
    color: var(--wechat-green);
    border-bottom: 2px solid var(--wechat-green);
}

/* Utils */
.hidden { display: none; }
.card-shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.hero-gradient { background: linear-gradient(180deg, rgba(7, 193, 96, 0.05) 0%, rgba(255, 255, 255, 1) 100%); }
.step-number {
    width: 32px;
    height: 32px;
    background: var(--wechat-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-in {
    animation: fadeIn 0.2s ease-out forwards;
}

/* Form Validation */
label.error {
    color: #ef4444;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px !important;
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.input-field.error {
    border-color: #ef4444;
}

.input-field.error:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Account Bind specific */
.bind-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}
.bind-card:hover {
    border-color: var(--wechat-green);
}

/* Contact specific */
.contact-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 40px;
    transition: all 0.3s ease;
}
.contact-card:hover {
    border-color: var(--wechat-green);
    box-shadow: 0 10px 30px rgba(7, 193, 96, 0.05);
}
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f9f9f9;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    max-height: 0;
    overflow: hidden;
}
#mobile-menu.active {
    max-height: 400px;
    border-bottom: 1px solid #F3F4F6;
}
.menu-icon span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-text);
    transition: all 0.3s ease;
}
.menu-icon.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-icon.active span:nth-child(2) {
    opacity: 0;
}
.menu-icon.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Gallery Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.lightbox-overlay.active {
    display: flex;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-contain: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
.lightbox-btn {
    position: absolute;
    color: white;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.lightbox-btn:hover {
    background: var(--wechat-green);
    border-color: var(--wechat-green);
    transform: scale(1.1);
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }
.lightbox-close { top: 40px; right: 40px; }

/* Scrollbar Utilities */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Feature Image Container */
.feature-img-container {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: #f9f9f9;
}

/* Zoomable Image behavior */
.feature-img-zoom {
    cursor: zoom-in;
    aspect-ratio: 16/9;
}

.feature-img-zoom::after {
    content: '点击放大';
    position: absolute;
    inset: 0;
    background: rgba(7, 193, 96, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allow clicks to pass through if needed, though usually we want to trigger popup */
}

.feature-img-zoom:hover::after {
    opacity: 1;
}

/* Interactive Feature Card (No zoom overlay) */
.feature-card-interactive {
    transition: all 0.3s ease;
    border: 1px solid #F3F4F6;
}

.feature-card-interactive:hover {
    border-color: var(--wechat-green);
    box-shadow: 0 10px 30px rgba(7, 193, 96, 0.05);
}

.feature-card-interactive .zoom-trigger {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 20;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.feature-card-interactive:hover .zoom-trigger {
    opacity: 1;
    transform: translateY(0);
}

/* Policy pages specific */
main.max-w-4xl {
    line-height: 1.8;
}

/* New Sections Styles */
.source-card {
    background: #fff;
    border: 1px solid #F3F4F6;
    border-radius: 2rem;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.source-card:hover {
    border-color: var(--wechat-green);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(7, 193, 96, 0.08);
}
.case-card {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.case-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}
.case-card:hover .case-overlay {
    background: linear-gradient(to top, rgba(7, 193, 96, 0.9) 0%, rgba(7, 193, 96, 0.4) 100%);
}
.tag-pill {
    padding: 4px 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}
