body,html {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
	height: auto;
}
* {
    box-sizing: border-box;
}
.animated-header {
    width: 100%;
    background-color: #e0e0e0;
    padding: 20px;
    margin-top: 60px;
}

.animated-header>* {
    opacity: 0;
    animation: fadeInUpHeader 0.5s ease-out forwards;
    animation-delay: calc(0.3s * var(--i));
}

@keyframes fadeInUpHeader {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header h1,
header p {
    width: 40%;
}

.header-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.search-container input {
    width: 40%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

main {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    text-align: center;
}

.main-center {
    width: 1200px;
    display: flex;
    justify-content: space-around;
    padding: 20px;
    text-align: center;
}

.section-box {
    width: 30%;
    background-color: white;
    padding: 20px;
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.section-box:hover {
    transform: scale(1.05);
}

/* Top Border Animation */
.section-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: blue;
    z-index: 1;
    transition: none;
}

.section-box:hover::before {
    animation: drawTopBorder 0.5s linear forwards;
}

@keyframes drawTopBorder {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.guide-section img,
.acceleration-section img,
.configuration-section img {
    width: 100px;
    height: 100px;
}

.content-block-animated>* {
    opacity: 0;
    animation: fadeInUpContent 1s ease-out forwards;
    animation-delay: calc(0.3s * var(--i));
}

@keyframes fadeInUpContent {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-content ul,
.configuration-content ul,
.acceleration-content ul {
    list-style-type: none;
    padding: 0;
}

.guide-content ul li,
.configuration-content ul li,
.acceleration-content ul li {
    line-height: 35px;
}

.guide-content ul li:hover,
.configuration-content ul li:hover,
.acceleration-content ul li:hover {
    color: rgb(54, 133, 236);
    cursor: pointer;
}

.qa-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.qa-container-center {
    width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.qa-section h2 {
    margin-bottom: 20px;
}

.qa-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.qa-item {
    background-color: white;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.qa-item:hover {
    transform: translateY(-10px);
    color: rgb(54, 133, 236);
    cursor: pointer;
}

.qa-item p {
    margin: 0;
}

.more-info {
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
    border: 2px dashed rgb(54, 133, 236);
}

.more-info:hover {
    background-color: rgb(54, 133, 236);
    color: white;
}

/* 媒体查询，适配不同屏幕宽度 */
@media (max-width: 1200px) {
    .main-center,
    .qa-container-center {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .main-center {
        flex-direction: column;
        align-items: center;
    }

    .section-box {
        width: 80%;
    }

    .qa-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header h1,
    header p,
    .search-container input {
        width: 80%;
    }
}

/* 默认隐藏下划线 */
.no-underline-hover {
    text-decoration: none; /* 隐藏下划线 */
    color: inherit; /* 继承父元素的颜色 */
}

/* 鼠标悬停时改变字体颜色 */
.no-underline-hover:hover {
    color: #007BFF; /* 悬停时的字体颜色（蓝色为例） */
    text-decoration: none; /* 确保悬停时仍然没有下划线 */
}