* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
    margin-left: calc(44 * 100vw / 1420);
    margin-top: calc(16 * 100vw / 1420);
}

.logo a {
    display: flex;
    align-items: center;
    color: #ffc930;
    text-decoration: none;
}

.logo img {
    height: calc(36 * 100vw / 1420);
    width: calc(126 * 100vw / 1420);
    margin-right: 10px;
    object-fit: cover;
}

.logo span {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffc930;
    font-weight: bold;
}

.carousel-container {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.carousel {
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #FFC930;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.web-bg {
    display: block;
}

.phone-bg {
    display: none;
}

/* 修改断点为 1670px */
@media (max-width: 1670px) {
    .carousel-container {
        height: auto;
    }

    .carousel-item {
        height: auto;
    }

    .web-bg {
        display: none;
    }
    
    .phone-bg {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
    }
}

.carousel-caption {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 2;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-button:hover {
    background: rgba(0,0,0,0.7);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* 页面内容基本样式 */
main {
    padding: 2rem 5%;
    margin-top: 40px;
}

.features-content,
.download-content {
    min-height: calc(100vh - 70px);
} 

/* 主页内容样式 */
.home-content {
    padding: 2rem 5%;
}

.features-section {
    text-align: center;
    margin-bottom: 4rem;
}

.features-section h2 {
    margin-bottom: 2rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    color: #333;
}

.download-section {
    text-align: center;
    padding: 4rem 0;
    background: #f8f9fa;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background: #007AFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background: #0056b3;
}

.download-btn img {
    width: 24px;
    margin-right: 10px;
}

/* 页脚样式 */
footer {
    background: #333;
    color: white;
    padding: 1rem 5% 0rem 5%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
}

.beian {
    margin-top: 0.5rem;
}

.beian a {
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.beian a:hover {
    color: #666;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-content {
        padding: 2rem 1rem;
    }
} 

/* 特色功能页面样式 */
.feature-banner {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.feature-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-content {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feature-banner {
        height: 300px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .features-content {
        padding: 2rem 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        padding: 1.5rem;
    }
}

/* 确保导航栏在特色功能页面也能正常工作 */
.navbar {
    position: relative;
    z-index: 1000;
}

.nav-links {
    z-index: 999;
}

.menu-btn {
    z-index: 1001;
}

/* 滚动固式 */
.navbar.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} 

/* 统一的标题装饰样式 */
.why-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

.why-title::before,
.why-title::after {
    content: "";
    height: 2px;
    width: 30px;
}

.why-title::before {
    background: linear-gradient(to right, transparent, #ffc930);
}

.why-title::after {
    background: linear-gradient(to left, transparent, #ffc930);
} 

/* 移动端适配 */
@media (max-width: 768px) {
    .why-title {
        font-size: 1.5rem;
    }
} 

.carousel-button.prev,
.carousel-button.next {
    display: none; /* 或者使用 visibility: hidden; */
} 

.intro-section {
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.intro-content {
    background: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    text-align: left;
}

.intro-content p {
    margin-bottom: 1rem;
    text-indent: 2em;  /* 添加首行缩进，2em 等于 2 个字符的宽度 */
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .intro-section {
        padding: 0 1rem;
    }
    
    .intro-content {
        font-size: 1rem;
        padding: 1.5rem;
    }

    .intro-content p {
        text-indent: 2em; /* 添加首行缩进，2em 等于 2 个字符的宽度 */
    }
} 

.back-home {
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-home:hover {
    color: #ffc930;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-home {
        font-size: 0.9rem;
    }
} 

/* 移动端适配 */
@media (max-width: 768px) {
    .logo {
        margin-left: 1rem;
        margin-top: 0.5rem;
    }

    .logo img {
        height: 24px;
        width: 84px;
    }
}

/* 大屏幕适配 */
@media (min-width: 1920px) {
    .logo {
        margin-left: 60px;
        margin-top: 22px;
    }

    .logo img {
        height: 48px;
        width: 168px;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .left-image {
        max-width: 39vw; /* 移动端下的最大宽度 */
        max-height: 39vw;
    }

    .right-image {
        max-width: 50vw; /* 移动端下的最大宽度 */
        max-height: 50vw;
    }
} 

/* 顶部 logo 样式 */
.top-logo {
    position: absolute;
    top: max(calc(16 * 100vw / 1420), 30px);
    left: calc(44 * 100vw / 1420);
    width: calc(126 * 100vw / 1420);
    height: calc(36 * 100vw / 1420);
    min-width: 84px;
    min-height: 24px;
    z-index: 1000;
}

.top-logo img {
    width: 100%;
    height: 100%;
}

/* 移动端适配 */
@media (max-width: 580px) {
    .top-logo {
        top: 30px;
        left: 20px;
        width: 84px;
        height: 24px;
    }
} 

.visit-count {
    text-align: center;
    margin: 40px 0;
    font-size: 14px;
    position: relative;
}

.visit-count span:first-child {
    color: #666;
}

.number-scroll {
    display: inline-flex;
    background-color: #f5f5f5;
    padding: 6px 12px;
    border-radius: 4px;
    color: #666;
}

.number-digit {
    height: 20px;
    overflow: hidden;
    position: relative;
}

.number-column {
    display: flex;
    flex-direction: column;
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.number-column span {
    height: 20px;
    line-height: 20px;
    text-align: center;
    display: block;
}

@media (max-width: 1450px) {
    .visit-count {
        margin: 30px 0;
    }
} 

/* 在文件开头添加 */
html, body {
    min-width: 650px;  /* 设置最小宽度 */
}

/* 移动端适配 */
@media (max-width: 1450px) {
    html, body {
        min-width: auto;  /* 移动端取消最小宽度限制 */
    }
    
    /* ... 其他移动端样式保持不变 ... */
} 

/* banner 样式 */
.banner {
    position: relative;
    width: 100%;
    min-width: 650px;
    overflow: hidden;
}

.banner-bg {
    width: 100%;
    height: calc(100vw * 1280 / 2840);
    display: block;
}

.banner-left {
    position: absolute;
    width: calc(463.77 * 100vw / 1920);
    height: auto;
    z-index: 2;
    left: calc(256.90 * 100vw / 1920);
    top: calc(200.11 * 100vw / 1920);
}

.banner-right {
    position: absolute;
    width: calc(772.06 * 100vw / 1920);
    height: auto;
    z-index: 1;
    left: calc(799.10 * 100vw / 1920);
    top: calc(200.11 * 100vw / 1920);
}

.web-bg {
    display: block;
}

.phone-bg {
    display: none;
}

.web-only {
    display: block;
}

@media (max-width: 768px) {
    .banner {
        min-width: auto;
    }

    .web-bg, .web-only {
        display: none;
    }
    
    .phone-bg {
        display: block;
        width: 100%;
        height: auto;
    }
}

.table-container {
    margin-top: 2rem;
    width: 100%; /* 确保宽度与特色功能保持一致 */
    max-width: 1200px; /* 设置最大宽度以保持对齐 */
    margin-left: auto; /* 居中对齐 */
    margin-right: auto; /* 居中对齐 */
}

.table-title {
    text-align: center; /* 标题居中 */
    color: #333; /* 字体颜色 */
    font-size: 2.5rem; /* 字体大小与特色功能一致 */
    margin-bottom: 1rem; /* 标题与表格的间距 */
    font-weight: bold; /* 加粗字体 */
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 1rem 0.5rem;
    text-align: center;
    border: none;
    vertical-align: bottom;
}

.info-table th {
    border-bottom: 2px solid #ddd; /* 只保留横线 */
    background-color: white; /* 确保表头背景色为白色 */
}

.info-table tr {
    border-bottom: 1px solid #ddd; /* 只保留横线 */
}

.info-table tr:last-child {
    border-bottom: none; /* 最后一行不显示横线 */
}

/* 鼠标悬停效果 */
.info-table tr:hover {
    background-color: #f9f2dd; /* 鼠标悬停时背景色 */
}

.info-icon {
    cursor: pointer;
    color: #007bff; /* 图标颜色 */
    margin-left: 2px;
    font-size: 1.2rem; /* 图标大小 */
}

.tooltip {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
