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

:root {
    --primary-color: #0066cc;
    --secondary-color: #00a0e9;
    --accent-color: #ff6600;
    --text-color: #333333;
    --bg-color: #f5f7fa;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.hero-section {
    background-image: url('https://p3-flow-imagex-sign.byteimg.com/tos-cn-i-a9rns2rl98/rc/pc/super_tool/0c8ff5b932a34864ad939b489847194c~tplv-a9rns2rl98-image.image?lk3s=8e244e95&rcl=20260123161045DB1AE9ED19E62E07C7A5&rrcfp=f06b921b&x-expires=1771747893&x-signature=FHZ1VdQxVyljQjFEBJic1A5GD5k%3D');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 102, 204, 0.7), rgba(0, 160, 233, 0.5));
}

.card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background-color: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 160, 233, 0.3);
}

.btn-accent {
    background-color: var(--accent-color);
    color: white;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-accent:hover {
    background-color: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 102, 0, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background-color: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    font-size: 1.5rem;
}

.package-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.package-popular {
    position: relative;
}

.package-popular::after {
    content: '最受欢迎';
    position: absolute;
    top: 15px;
    right: -30px;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 4px;
    font-size: 0.75rem;
    transform: rotate(45deg);
    z-index: 10;
}

.process-step {
    position: relative;
    padding-left: 2rem;
}

.process-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.process-step:nth-child(1)::before {
    content: '1';
}

.process-step:nth-child(2)::before {
    content: '2';
}

.process-step:nth-child(3)::before {
    content: '3';
}

.process-step:nth-child(4)::before {
    content: '4';
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 1.5rem;
    width: 2px;
    height: calc(100% + 1rem);
    background-color: #e5e7eb;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding-bottom: 1rem;
}

.mobile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0;
}

.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background-color: rgba(0, 102, 204, 0.1);
}

.mobile-menu-btn i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.mobile-menu-btn span {
    font-size: 0.75rem;
    color: var(--text-color);
}

/* 3D背景动画 */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 加载动画 */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--primary-color);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .package-popular::after {
        right: -40px;
        font-size: 0.65rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* AI聊天窗口 */
.ai-chat-window {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: hidden;
    display: none;
    flex-direction: column;
}

.ai-chat-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-body {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    max-height: 350px;
}

.ai-chat-message {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.ai-chat-message.ai {
    align-items: flex-start;
}

.ai-chat-message.user {
    align-items: flex-end;
}

.ai-chat-message-content {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
}

.ai-chat-message.ai .ai-chat-message-content {
    background-color: #f1f5f9;
    border-bottom-left-radius: 4px;
}

.ai-chat-message.user .ai-chat-message-content {
    background-color: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.ai-chat-input {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 0.5rem;
}

.ai-chat-input input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s ease;
}

.ai-chat-input input:focus {
    border-color: var(--primary-color);
}

.ai-chat-input button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-chat-input button:hover {
    background-color: #0055aa;
}

.ai-chat-toggle {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.ai-chat-toggle:hover {
    background-color: #0055aa;
    transform: scale(1.1);
}

.ai-chat-toggle i {
    font-size: 1.5rem;
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* 导航栏增强 */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover .nav-indicator {
    width: 100%;
}