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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.wave-divider {
    transform: rotate(180deg);
    height: 60px;
}


.scenario-card:hover:before {
    transform: scaleX(1);
}

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

.scenario-card:hover .icon-container {
    transform: rotateY(180deg) scale(1.1);
    background-color: #ede9fe;
}

.icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.5s ease;
    background-color: #f5f3ff;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.tag-cloud span {
    background-color: #f5f3ff;
    color: #6d28d9;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #ede9fe;
}

.scenario-card:hover .tag-cloud span {
    transform: translateY(-3px);
    background-color: #ede9fe;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
}

/* 新粒子动画 */
/* 添加新的粒子动画效果 */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#particleCanvas canvas {
    display: block;
}

/* 添加发光文本效果 */
.hero-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3),
                 0 0 20px rgba(255, 255, 255, 0.2);
}

.hero-subtitle {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* 添加按钮发光效果 */
.cta-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0) 25%,
        rgba(255,255,255,0) 75%,
        rgba(255,255,255,0.15) 100%
    );
    transform: rotate(30deg);
    z-index: -1;
    transition: transform 0.7s linear;
}

.cta-button:hover::before {
    transform: rotate(30deg) translateX(100%);
}

/* 新增粒子样式*/
/* 添加星系效果 */
#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#particleCanvas canvas {
    position: absolute;
    top: 0;
    left: 0;
}

/* 强化主标题效果 */
.hero-text {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4),
                 0 0 25px rgba(255, 255, 255, 0.2),
                 0 0 50px rgba(139, 92, 246, 0.5);
    position: relative;
    background: linear-gradient(90deg, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    position: relative;
}

/* 强化按钮效果 */
.cta-button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                0 0 30px rgba(139, 92, 246, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-button:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5),
                0 0 40px rgba(139, 92, 246, 0.7);
    transform: translateY(-5px) scale(1.05);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 70%
    );
    z-index: -1;
    transform: rotate(15deg);
    transition: transform 0.6s linear;
}

.cta-button:hover::before {
    transform: rotate(15deg) translateX(150%);
}

/* 跳转*/
/* 教程界面样式 */
#tutorial {
    scroll-margin-top: 80px; /* 确保跳转后内容不被导航栏遮挡 */
}

.tutorial-container {
    border: 1px solid #e5e7eb;
}

.tutorial-progress {
    position: relative;
}

.tutorial-progress > span {
    position: relative;
    z-index: 2;
}

.tutorial-progress::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 4px;
    background-color: rgba(255,255,255,0.3);
    transform: translateY(-50%);
}

.tutorial-progress::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    width: 33.33%; /* 当前步骤指示器 */
    height: 4px;
    background-color: #fcd34d; /* 黄色指示线 */
    transform: translateY(-50%);
    transition: width 0.5s ease;
}

.tutorial-content {
    min-height: 400px;
}

.tutorial-navigation {
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.05), 0 -2px 4px -2px rgba(0, 0, 0, 0.05);
}

/* 步骤指示点 */
.step-indicators {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #cbd5e1;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-dot.active {
    background-color: #8b5cf6;
    transform: scale(1.2);
}

/*---------------教学-------------------- */
/* 新增步进指示器样式 */
.step-indicator {
    padding: 0 10px;
    position: relative;
    z-index: 2;
}
.step-indicator.active {
    color: #fcd34d;
    font-weight: bold;
}

/* 调整核心优势图标容器 */
.icon-container {
    width: 60px;
    height: 60px;
    background-color: #f3e8ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* 调整页脚布局 */
footer .grid {
    align-items: flex-start;
}
footer h3, footer h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}
footer p {
    margin-bottom: 8px;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    font-size: 1.5rem;
}