/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 95px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 头部导航栏 */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 95px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 20px 0 20px;
    height: 100%;
}

.logo {
    margin: 0;
}

.logo img {
    width: 189px;
    height: 48px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu li a:hover {
    background-color: #f0f0f0;
    color: #000;
}

.nav-menu li a.current {
    background-color: #00BC66;
    color: #fff;
}

/* 轮播图 */
.banner {
    position: relative;
    overflow: hidden;
    height: 575px;
}

.banner-container {
    position: relative;
    height: 100%;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-foreground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-foreground img:first-child {
    position: absolute;
    left: 50%;
    top: 317px;
    transform: translateX(-50%);
    width: 471px;
    height: 121px;
    animation: scaleUp 1s ease-out 0.2s both;
}

.banner-foreground img:nth-child(2) {
    position: absolute;
    left: 50%;
    top: 80px;
    transform: translateX(-50%);
    max-width: 80%;
    max-height: 80%;
    animation: slideInLeft 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s both;
}

.banner-content {
    position: absolute;
    left: 50%;
    top: 387.5px;
    transform: translateX(-50%);
    text-align: center;
    animation: slideIn 1s ease-out 0.6s both;
    z-index: 10;
}

@keyframes slideIn {
    0% {
        transform: translateX(-50%) translateY(-50px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideInTop {
    0% {
        transform: translateX(-50%) translateY(-50px) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-150%) translateY(0) scale(0.6);
        opacity: 0;
    }
    70% {
        transform: translateX(-40%) translateY(0) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes scaleUp {
    0% {
        width: 471px;
        height: 121px;
        opacity: 0;
    }
    100% {
        width: 939px;
        height: 242px;
        opacity: 1;
    }
}

.download-btn {
    background-color: rgba(0, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 160px;
    height: 42px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 21px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.download-btn:hover {
    background-color: rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: rgba(255, 255, 255, 0.8);
}

.icon {
    font-family: 'Font Awesome 5 Pro Light', 'Font Awesome 5 Pro Regular', 'Font Awesome 5 Pro', sans-serif;
    margin-left: 10px;
}

/* 产品卡片区域 */
.products {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.products-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    flex-wrap: nowrap;
}

.product-card {
    flex: 0 0 calc(20% - 16px);
    perspective: 1000px;
    height: 380px;
}

.product-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.product-card:hover .product-card-inner {
    transform: rotateY(180deg);
}

.product-card-front, .product-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.product-card-front {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-card-back {
    transform: rotateY(180deg);
    box-shadow: 0 0 10px rgba(0, 188, 102, 0.3);
}

.product-icon {
    margin-top: 20px;
}

.product-icon img {
    width: 55px;
    height: 55px;
}

.product-divider {
    width: 159px;
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 20px;
}

.product-link {
    font-size: 14px;
    color: #ff6b00;
    cursor: pointer;
    transition: color 0.3s;
}

.product-link:hover {
    color: #e55a00;
}

.product-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* 版本对比表格 */
.version-comparison {
    padding: 60px 0;
    background-color: #fff;
}

.version-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.version-container h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: #333;
    font-weight: 600;
}

.version-table {
    width: 100%;
}

.table-header {
    display: flex;
    width: 100%;
    gap: 10px;
}

.table-header .table-cell {
    height: 64px;
    font-weight: 700;
}

.table-header .table-cell.feature-name {
    font-weight: 700;
}

.table-row {
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 0;
}

.table-row:last-child {
    padding-bottom: 28px;
}

.table-row:hover {
    background-color: transparent;
}

.table-cell {
    flex: 1;
    padding: 0 15px;
    text-align: center;
    font-size: 14px;
    background-color: #FAFAFA;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.table-cell.feature-name {
    flex: 0 0 250px;
    text-align: left;
    font-weight: 500;
    background-color: #F5F5F5;
    color: #333;
}

/* 模块夹名称样式 - 左边距30px，粗体，左对齐 */
.table-cell.feature-name.module-category {
    padding-left: 30px;
    font-weight: 700;
    justify-content: flex-start;
    text-align: left;
}

/* 模块名称样式 - 左边距60px，左对齐 */
.table-cell.feature-name.module-item {
    padding-left: 60px;
    font-weight: 400;
    justify-content: flex-start;
    text-align: left;
    color: #666;
}

.table-cell.check {
    color: #F7563A;
}

.table-cell.cross {
    color: #999999;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    color: #666;
    font-size: 14px;
    margin-top: 40px;
}

/* ==================== 响应式设计 - 平板 ==================== */
@media (max-width: 1024px) {
    body {
        padding-top: 80px;
    }
    
    .header {
        height: 80px;
    }
    
    .header-container {
        padding: 15px 20px;
        align-items: center;
    }
    
    .logo img {
        width: 150px;
        height: 38px;
    }
    
    .nav-menu {
        margin-top: 10px;
        gap: 15px;
    }
    
    .nav-menu li a {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .banner {
        height: 450px;
    }
    
    .banner-foreground img:first-child {
        width: 350px;
        height: 90px;
        top: 250px;
    }
    
    .banner-foreground img:nth-child(2) {
        top: 60px;
        max-width: 70%;
    }
    
    .banner-content {
        top: 320px;
    }
    
    .products-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .product-card {
        flex: 0 0 calc(33.333% - 10px);
        height: 350px;
    }
    
    .product-description {
        font-size: 13px;
    }
}

/* ==================== 响应式设计 - 手机 ==================== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .header {
        height: 70px;
    }
    
    .header-container {
        padding: 10px 15px;
        align-items: center;
    }
    
    .logo img {
        width: 130px;
        height: 33px;
    }
    
    /* 移动端菜单按钮 */
    .mobile-menu-btn {
        display: block;
    }
    
    /* 移动端导航菜单 */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        margin-top: 0;
        gap: 30px;
    }
    
    .nav-menu li a {
        font-size: 18px;
        padding: 12px 24px;
    }
    
    /* 轮播图适配 */
    .banner {
        height: 350px;
    }
    
    .banner-foreground img:first-child {
        width: 250px;
        height: 64px;
        top: 200px;
    }
    
    .banner-foreground img:nth-child(2) {
        top: 50px;
        max-width: 60%;
    }
    
    .banner-content {
        top: 260px;
    }
    
    .download-btn {
        width: 140px;
        height: 38px;
        font-size: 14px;
    }
    
    /* 产品卡片适配 */
    .products {
        padding: 40px 0;
    }
    
    .products-container {
        flex-wrap: wrap;
        gap: 15px;
        padding: 0 15px;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 8px);
        height: 320px;
    }
    
    .product-card-inner {
        transform-style: flat;
    }
    
    .product-card:hover .product-card-inner {
        transform: none;
    }
    
    .product-card-back {
        display: none;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 13px;
    }
    
    .product-description {
        font-size: 12px;
    }
    
    /* 版本对比表格适配 */
    .version-comparison {
        padding: 40px 0;
        overflow-x: auto;
    }
    
    .version-container {
        min-width: 600px;
        padding: 0 15px;
    }
    
    .version-container h2 {
        font-size: 20px;
        margin-bottom: 30px;
    }
    
    .table-header .table-cell {
        height: 50px;
        font-size: 12px;
    }
    
    .table-cell {
        height: 28px;
        font-size: 11px;
        padding: 0 8px;
    }
    
    .table-cell.feature-name {
        font-size: 12px;
    }
}

/* ==================== 响应式设计 - 小屏手机 ==================== */
@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .header {
        height: 60px;
    }
    
    .header-container {
        padding: 8px 12px;
    }
    
    .logo img {
        width: 110px;
        height: 28px;
    }
    
    .mobile-menu-btn span {
        width: 22px;
        height: 2.5px;
        margin: 4px 0;
    }
    
    .nav {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .nav-menu li a {
        font-size: 16px;
        padding: 10px 20px;
    }
    
    /* 轮播图适配 */
    .banner {
        height: 280px;
    }
    
    .banner-foreground img:first-child {
        width: 180px;
        height: 46px;
        top: 160px;
    }
    
    .banner-foreground img:nth-child(2) {
        top: 40px;
        max-width: 50%;
    }
    
    .banner-content {
        top: 200px;
    }
    
    .download-btn {
        width: 120px;
        height: 34px;
        font-size: 13px;
    }
    
    /* 产品卡片适配 */
    .products {
        padding: 30px 0;
    }
    
    .products-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 12px;
    }
    
    .product-card {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        height: 300px;
    }
    
    .product-icon {
        margin-top: 15px;
    }
    
    .product-icon img {
        width: 45px;
        height: 45px;
    }
    
    .product-divider {
        width: 120px;
        margin: 15px 0;
    }
    
    .product-title {
        font-size: 15px;
    }
    
    .product-price {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .product-description {
        font-size: 11px;
        margin-bottom: 15px;
    }
    
    /* 版本对比表格适配 */
    .version-comparison {
        padding: 30px 0;
    }

    .version-container {
        min-width: 500px;
        padding: 0 10px;
    }
    
    .version-container h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

/* ==================== 核心优势 ==================== */
.company-advantages {
    padding: 30px 0;
    background: #fff;
}

.advantages-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.company-advantages h2 {
    font-size: 32px;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.advantage-card {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.advantage-icon {
    width: 80px;
    height: 80px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ==================== 响应式设计 - 平板 ==================== */
@media (max-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== 响应式设计 - 手机 ==================== */
@media (max-width: 768px) {
    .company-advantages {
        padding: 60px 0;
    }
    
    .company-advantages h2 {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .table-header .table-cell {
        height: 40px;
        font-size: 10px;
        padding: 0 5px;
    }
    
    .table-cell {
        height: 24px;
        font-size: 9px;
        padding: 0 5px;
    }
    
    .table-cell.feature-name {
        font-size: 10px;
        padding: 0 8px;
    }
    
    footer {
        padding: 15px;
        font-size: 12px;
    }
}

/* ==================== 响应式设计 - 超小屏手机 ==================== */
@media (max-width: 360px) {
    .banner {
        height: 240px;
    }
    
    .banner-foreground img:first-child {
        width: 150px;
        height: 38px;
        top: 140px;
    }
    
    .banner-foreground img:nth-child(2) {
        top: 35px;
        max-width: 45%;
    }
    
    .banner-content {
        top: 170px;
    }
    
    .product-card {
        height: 280px;
    }
    
    .version-container {
        min-width: 450px;
    }
}
