body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #e0f7fa, #ffffff); /* 渐变背景 */
    display: flex;
    justify-content: center;
    align-items: flex-start; /* 顶部对齐 */
    min-height: 100vh; /* Ensure the body takes up the full height */
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto; /* Center the container horizontally */
    padding: 20px;
    padding-bottom: 80px; /* Add space at the bottom of the container */
    flex: 1; /* Allow the container to take up remaining space */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0288d1; /* Dodger Blue */
    padding: 10px 20px;
    width: 100%;
    border-radius: 8px; /* Rounded corners */
    margin-top: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
    position: relative; /* Other styling */
}

.navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: white;
}

.menu-icon {
    display: block; /* Ensure the icon is displayed */
    font-size: 24px;
    cursor: pointer;
    color: white;
    position: absolute;
    right: 20px;
    top: 50%; /* Position it relative to the navbar height */
    transform: translateY(-50%); /* Center it vertically */
    z-index: 1001; /* Ensure it appears above other elements */
}

.navbar .menu {
    display: none; /* 初始状态下隐藏菜单 */
    flex-direction: column;
    width: 250px; /* 指定菜单宽度 */
    height: 100vh; /* 占据整个视口高度 */
    background-color: #0288d1;
    position: fixed;
    top: 0; /* 菜单顶紧浏览器顶部 */
    right: 0; /* 菜单吸附在右侧 */
    z-index: 1000;
    padding: 20px 10px;
    box-sizing: border-box; /* 包含 padding 在内 */
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1); /* Soft shadow on the side */
}

.navbar .menu a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 16px;
    border-top: 1px solid #4682b4;
}

/* 停悬效果 */
.navbar .menu a:hover {
    background-color: #4682b4; /* Steel Blue */
    border-radius: 5px;
}

.navbar a.active {
    color: #0288d1; /* 使用导航栏的蓝色作为active状态的颜色 */
    pointer-events: none; /* 禁用点击事件 */
    cursor: default; /* 改变鼠标指针样式 */
    font-weight: bold; /* 加粗字体 */
    border-bottom: 2px solid #0277bd; /* 在底部添加蓝色下划线 */
}

.close-container {
    display: flex;
    justify-content: flex-start;
    padding-bottom: 10px;
}

.close-menu {
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* 当屏幕宽度大于768px时的样式 */
@media (min-width: 769px) {
    .menu-icon {
        display: none; /* 隐藏汉堡包图标 */
    }

    .navbar .menu {
        display: flex; /* 显示横向菜单 */
        flex-direction: row;
        position: relative;
        top: auto;
        right: auto;
        width: auto;
        height: auto;
        background-color: transparent; /* 透明背景或根据需要调整 */
        padding: 0;
    }

    .navbar .menu a {
        padding: 10px 15px;
        border-top: none;
    }

    .close-container {
        display: none; /* 隐藏关闭按钮容器 */
    }
}

.special-selection {
    color: #0288d1; /* Use the primary color for the text */
    font-size: 28px; /* Slightly larger font size */
    font-weight: bold; /* Bold text */
    margin-top: 20px; /* Spacing from the top */
    text-align: center; /* Center the text */
    letter-spacing: 1px; /* Add some letter spacing for clarity */
}


.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* 将右侧部分分成4列 */
    grid-template-rows: auto auto; /* 定义两行 */
    gap: 20px; /* 增加列与列、行与行之间的间距 */
    width: 100%;
}

.main, .sidebar1, .sidebar2, .sidebar3, .sidebar4 {
    background-color: #ffffff; /* 设置白色背景 */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px; /* 增加内部的间距 */
    border-radius: 10px; /* 圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 添加阴影以增加层次感 */
}

.main img, .sidebar1 img, .sidebar2 img, .sidebar3 img, .sidebar4 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; /* 圆角 */
}

.main {
    grid-column: 1 / 3; /* 主容器占前两列 */
    grid-row: 2 / 4; /* 主容器跨两行 */
}

.sidebar1 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

.sidebar2 {
    grid-column: 4 / 5;
    grid-row: 2 / 3;
}

.sidebar3 {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
}

.sidebar4 {
    grid-column: 4 / 5;
    grid-row: 3 / 4;
}


/* FAQ Section Styles */
.faq-section {
    margin-top: 20px;
    width: 100%;
    max-width: 800px; /* Set a maximum width for the FAQ section */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff; /* White background for the FAQ container */
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

.faq-item {
    margin-bottom: 15px;
    padding: 15px 20px;
    width: 100%; /* Ensure FAQ items take up the full width */
    background-color: #f8f9fa; /* Light gray background for each item */
    border-radius: 8px; /* Rounded corners for items */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-item:hover {
    background-color: #e9ecef; /* Slightly darker gray on hover */
}

.faq-item:last-child {
    margin-bottom: 0; /* Remove margin from the last item */
}

.faq-question {
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-right: 30px;
    color: #333; /* Darker color for the question text */
}

.faq-answer {
    display: none;
    font-size: 16px;
    margin-top: 10px;
    color: #555; /* Slightly lighter color for the answer text */
}

/* Custom toggle icon using CSS */
.toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg); /* Arrow pointing down */
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transition: transform 0.3s;
}

.expanded .toggle-icon {
    transform: translateY(-50%) rotate(225deg); /* Arrow pointing up when expanded */
}

.content {
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
    padding: 100px 30px; /* 增加上下内边距 */
    width: 90%; /* 设置content的宽度 */
    max-width: 1080px; /* 设置最大宽度 */
    margin-top: 30px; /* 调整间隔 */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 30px; /* 增加内容间距 */
    min-height: 400px; /* 设置最小高度以增加容器长度 */
}

.app-preview {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-image {
    max-width: 90%;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.app-info {
    flex: 1;
    padding-left: 30px; /* 调整间距 */
    text-align: center;
    margin-top: -20px; /* 整体上移标题和相关文本 */
}

.app-logo {
    width: 100px; /* 缩小Logo尺寸 */
    height: auto;
    margin-bottom: 20px;
}

.title-container {
    position: relative;
    top: -10px; /* 上移标题容器 */
    text-align: center; /* 标题居中对齐 */
}

h1 {
    font-size: 30px; /* 调整标题大小 */
    color: #333;
    margin-bottom: 20px;
    margin-top: 10px; /* 将标题的上边距缩小 */
}

p {
    color: #666;
    font-size: 18px; /* 调整字体大小 */
    margin-top: 15px;
    line-height: 1.9; /* 增加行高提高可读性 */
}

p.support-text {
    text-align: center; /* 文本居中 */
    margin-top: 10px; /* 与按钮的间距 */
    color: #666;
    font-size: 18px;
    line-height: 1.8; /* 增大行间距 */
}

.download-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px; /* 增加按钮之间的间距 */
}

.btn-download {
    background-color: #0288d1; /* 蓝色按钮 */
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 18px;
    margin: 0 10px; /* 调整按钮间距 */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.2s ease; /* 增加过渡效果 */
}

.btn-download:hover {
    background-color: #0277bd; /* 深蓝色悬停效果 */
    transform: translateY(-3px); /* 悬停时增加轻微的提升效果 */
}

.qr-code {
    margin-top: 30px;
    width: 120px; /* 缩小二维码尺寸 */
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}


.footer {
    background-color: #0288d1; /* Match the navbar color */
    color: white; /* White text for contrast */
    padding: 15px 20px;
    text-align: center;
    font-size: 12px;
    border-radius: 8px 8px 0 0; /* Rounded corners at the top */
    box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for a floating effect */
    width: 100%;
    max-width: 1080px; /* Match the width of the container */
    margin: 0 auto; /* Center the footer */
    position: fixed; /* Fix the footer at the bottom */
    bottom: 0; /* Stick to the bottom of the viewport */
    left: 0;
    right: 0;
}

.footer a {
    color: white; /* White color for the links */
    text-decoration: none;
    margin-left: 5px;
}

.footer a:hover {
    text-decoration: underline; /* Underline links on hover */
}

.footer p {
    margin: 0; /* Remove default margin */
    line-height: 1.5; /* Improve readability */
}