@charset "UTF-8";

:root {
    --primary: #165DFF;
    --primary-dark: #0F3ABA;
    --primary-light: #4E83FF;
    --accent: #00D4AA;
    --gradient-primary: linear-gradient(135deg, #165DFF 0%, #0F3ABA 100%);
    --gradient-hero-1: linear-gradient(135deg, #165DFF 0%, #0F3ABA 100%);
    --gradient-hero-2: linear-gradient(135deg, #0F3ABA 0%, #1a1a2e 100%);
    --gradient-hero-3: linear-gradient(135deg, #6C3CE1 0%, #165DFF 100%);
    --gradient-hero-4: linear-gradient(135deg, #165DFF 0%, #00B4D8 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    z-index: 1;
}

.hero-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero-slider-dot.active {
    background: #fff;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.hero-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-slider-arrow.prev {
    left: 20px;
}

.hero-slider-arrow.next {
    right: 20px;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(22, 93, 255, 0.15);
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    padding: 16px 0;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
    color: #9ca3af;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1f2937;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question .faq-icon {
    transition: transform 0.3s ease;
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
    color: #4b5563;
    line-height: 1.8;
    background: #fff;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title-bar {
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    margin: 0 auto 16px;
}

.page-banner {
    padding-top: 120px;
    padding-bottom: 60px;
    color: #fff;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #165DFF 0%, #0F3ABA 60%, #1a2744 100%);
}

.page-banner > * {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-banner p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.counter-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 500px;
    }

    .hero-slider-arrow {
        display: none;
    }

    .hero-slider-nav {
        bottom: 20px;
    }

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

@media (max-width: 480px) {
    .hero-slider {
        min-height: 450px;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--primary);
    animation: pulse-ring 2s ease-out infinite;
}

/* 左下角系统介绍悬浮面板 */
.sys-panel {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
}

.sys-panel-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #165DFF 0%, #0F3ABA 100%);
    color: #fff;
    border: none;
    border-radius: 28px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(22, 93, 255, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.sys-panel-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(22, 93, 255, 0.5);
}

.sys-panel-toggle .toggle-icon {
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.sys-panel-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.sys-panel-toggle .pulse-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 10px;
    height: 10px;
    background: #00D4AA;
    border-radius: 50%;
    border: 2px solid #fff;
}

.sys-panel-toggle.active .pulse-dot {
    display: none;
}

@keyframes sys-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.6); }
    50% { box-shadow: 0 0 0 6px rgba(0, 212, 170, 0); }
}

.sys-panel-toggle .pulse-dot {
    animation: sys-pulse 2s ease-in-out infinite;
}

.sys-panel-body {
    position: absolute;
    bottom: 56px;
    left: 0;
    width: 380px;
    max-width: calc(100vw - 48px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.97);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.sys-panel-body.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.sys-panel-header {
    background: linear-gradient(135deg, #165DFF 0%, #0F3ABA 100%);
    padding: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.sys-panel-header::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.sys-panel-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.sys-panel-header .sys-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.sys-panel-header .sys-logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
}

.sys-panel-header .sys-logo span {
    font-size: 17px;
    font-weight: 700;
}

.sys-panel-header p {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.sys-panel-content {
    padding: 16px 20px;
}

.sys-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.sys-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: #EFF4FF;
    color: #165DFF;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sys-tag:hover {
    background: #165DFF;
    color: #fff;
}

.sys-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sys-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}

.sys-feature-list li:last-child {
    border-bottom: none;
}

.sys-feature-list .feat-icon {
    width: 24px;
    height: 24px;
    background: #EFF4FF;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #165DFF;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sys-panel-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #f3f4f6;
}

.sys-panel-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: linear-gradient(135deg, #165DFF 0%, #0F3ABA 100%);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sys-panel-footer a:hover {
    box-shadow: 0 4px 16px rgba(22, 93, 255, 0.4);
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .sys-panel {
        bottom: 16px;
        left: 16px;
    }

    .sys-panel-toggle {
        padding: 8px 14px;
        font-size: 13px;
    }

    .sys-panel-body {
        width: calc(100vw - 32px);
    }

    .sys-panel-toggle .toggle-text {
        display: none;
    }

    .sys-panel-toggle .toggle-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

/* 右侧微信二维码悬浮栏 */
.wx-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    align-items: stretch;
}

.wx-sidebar-toggle {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 14px 10px;
    background: linear-gradient(180deg, #07C160 0%, #06AD56 100%);
    color: #fff;
    border: none;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 3px;
    box-shadow: -2px 0 12px rgba(7, 193, 96, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wx-sidebar-toggle:hover {
    padding-right: 14px;
    box-shadow: -4px 0 20px rgba(7, 193, 96, 0.4);
}

.wx-sidebar-toggle i {
    writing-mode: horizontal-tb;
    font-size: 16px;
}

.wx-sidebar-popup {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-right: 8px;
}

.wx-sidebar-popup::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.wx-sidebar-popup.open {
    opacity: 1;
    visibility: visible;
}

.wx-sidebar-popup img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin: 0 auto 10px;
}

.wx-sidebar-popup .wx-label {
    text-align: center;
    font-size: 13px;
    color: #07C160;
    font-weight: 600;
}

.wx-sidebar-popup .wx-sub {
    text-align: center;
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .wx-sidebar {
        display: none;
    }
}

/* 系统面板底部双按钮 */
.sys-panel-footer {
    padding: 12px 20px 16px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    gap: 8px;
}

.sys-panel-footer a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.sys-panel-footer .btn-primary {
    background: linear-gradient(135deg, #165DFF 0%, #0F3ABA 100%);
    color: #fff;
}

.sys-panel-footer .btn-primary:hover {
    box-shadow: 0 4px 16px rgba(22, 93, 255, 0.4);
    transform: translateY(-1px);
}

.sys-panel-footer .btn-wechat {
    background: #f0faf5;
    color: #07C160;
    border: 1px solid #d1fae5;
}

.sys-panel-footer .btn-wechat:hover {
    background: #07C160;
    color: #fff;
    border-color: #07C160;
}

.sys-panel-contact {
    padding: 0 20px 14px;
    display: flex;
    gap: 12px;
}

.sys-panel-contact a {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.sys-panel-contact a:hover {
    color: #165DFF;
}
