@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #f8fafc;
    color: #333;
}

.gradient-bg {
    background: linear-gradient(135deg, #4338ca 0%, #3b82f6 100%);
}

.card-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, #4338ca 0%, #3b82f6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.package-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: #f1f5f9;
}

.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    height: calc(100% - 50px);
    width: 2px;
    background-color: #e2e8f0;
}

.process-step:last-child::after {
    display: none;
}

.process-step.active .step-number {
    background-color: #3b82f6;
    color: white;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.fixed-bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background-color: #f1f5f9;
}

.menu-btn i {
    font-size: 20px;
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-step::after {
        left: 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .menu-btn span {
        font-size: 12px;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.loading div {
    position: absolute;
    border: 4px solid #3b82f6;
    opacity: 1;
    border-radius: 50%;
    animation: loading 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.loading div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes loading {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}

/* 客服聊天窗口 */
.chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    height: 450px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: none;
    flex-direction: column;
    z-index: 1001;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #4338ca 0%, #3b82f6 100%);
    color: white;
    padding: 15px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
}

.chat-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    margin-right: 10px;
}

.chat-input button {
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    cursor: pointer;
}

.message {
    margin-bottom: 15px;
    max-width: 80%;
}

.message.user {
    margin-left: auto;
    background-color: #3b82f6;
    color: white;
    border-radius: 15px 15px 0 15px;
    padding: 10px 15px;
}

.message.bot {
    background-color: #f1f5f9;
    border-radius: 15px 15px 15px 0;
    padding: 10px 15px;
}