/* CSS变量定义 */
:root {
    --primary-dark: #0a0a14;
    --primary-light: #1a1a2e;
    --accent: #e63946;
    --accent-light: #ff6b6b;
    --accent-dark: #c1121f;
    --text-light: #f8f9fa;
    --text-gray: #adb5bd;
    --white: #ffffff;
    --transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0a0a14 0%, #1a1a2e 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
}

/* 导航栏容器样式 */
#navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

body {
    padding-top: 80px;
}

/* 信息发布系统 Hero区域 */
.xinxifb-hero {
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    background: linear-gradient(90deg, rgba(10,10,20,0.9) 0%, rgba(26,26,46,0.7) 100%);
}

.xinxifb-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230,57,70,0.1) 0%, rgba(10,10,20,0) 70%);
    z-index: -1;
}

.hero-content {
    max-width: 1400px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #ffb6b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text-content .tagline {
    display: inline-block;
    background: rgba(230, 57, 70, 0.2);
    color: var(--accent-light);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-text-content p {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(230, 57, 70, 0.2);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.xinxifb-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.xinxifb-feature {
    display: flex;
    align-items: center;
    background: rgba(26, 26, 46, 0.6);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: var(--accent);
}

.feature-text h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 0;
}

/* 产品展示部分 */
.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 42px;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 70px;
    font-size: 18px;
}

.xinxifb-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* 产品卡片适配 */
@media (max-width: 768px) {
    .xinxifb-products {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .product-card {
        transform: translateY(0) !important;
        margin-bottom: 20px;
    }
    
    .product-badge {
        font-size: 14px;
        padding: 6px 12px;
        top: 10px;
        right: 10px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-image img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    
    .product-content h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .product-content p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .product-meta {
        padding-top: 15px;
    }
    
    .product-link {
        font-size: 16px;
    }
}

.product-card {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.25);
    border-color: rgba(230, 57, 70, 0.3);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 2;
}

.product-image {
    height: 250px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a2e, #2a2a4e);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.product-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 15px;
}

.product-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
    display: none;
}

.product-link {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--accent-light);
}

/* 功能特点展示部分 */
.functions-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    position: relative;
}

.functions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230,57,70,0.1) 0%, rgba(10,10,20,0) 70%);
    z-index: -1;
}

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

.function-item {
    background: rgba(26, 26, 46, 0.7);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.function-item:hover {
    background: rgba(26, 26, 46, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
}

.function-icon {
    width: 70px;
    height: 70px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--accent);
    transition: var(--transition);
}

.function-item:hover .function-icon {
    background: rgba(230, 57, 70, 0.2);
    color: var(--accent-light);
}

.function-item h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-light);
    font-weight: 600;
}

.function-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* 产品特性部分 */
.features-section {
    background: rgba(10, 10, 20, 0.7);
    padding: 100px 0;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230,57,70,0.05) 0%, rgba(10,10,20,0) 70%);
    z-index: -1;
}

.features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.features-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.features-image:hover img {
    transform: scale(1.03);
}

.features-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(230, 57, 70, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    border-color: rgba(230, 57, 70, 0.3);
    transform: translateX(10px);
}

.feature-icon-lg {
    min-width: 60px;
    height: 60px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: var(--accent);
}

.feature-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-content p {
    color: var(--text-gray);
    font-size: 15px;
}

/* 技术规格部分 */
.specs-section {
    background: rgba(10, 10, 20, 0.5);
    padding: 80px 0;
    position: relative;
}

.specs-container {
    max-width: 1000px;
    margin: 0 auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: rgba(26, 26, 46, 0.7);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.specs-table th {
    background: rgba(230, 57, 70, 0.2);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    color: var(--accent);
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
    width: 200px;
    white-space: nowrap;
}

.specs-table td {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
}

/* 第二列占据剩余空间 */
.specs-table td[data-label="参数"] {
    width: calc(100% - 200px);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table tr:hover td {
    background: rgba(230, 57, 70, 0.05);
    color: var(--text-light);
}

/* 移动设备响应式设计 - 卡片式布局 */
@media (max-width: 768px) {
    .specs-section {
        padding: 40px 0;
    }
    
    .specs-container {
        padding: 0 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .specs-table {
        display: block;
        width: 100%;
        border: none;
        background: transparent;
        box-shadow: none;
        margin-top: 30px;
        border-collapse: separate;
    }
    
    /* 隐藏传统表头 */
    .specs-table thead {
        display: none;
    }
    
    .specs-table tbody {
        display: block;
        width: 100%;
    }
    
    /* 每个表格行作为独立卡片 */
    .specs-table tr {
        display: block;
        width: 100%;
        margin-bottom: 25px;
        border-radius: 12px;
        overflow: hidden;
        background: rgba(26, 26, 46, 0.9);
        border: 1px solid rgba(230, 57, 70, 0.2);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .specs-table tr:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(230, 57, 70, 0.2);
    }
    
    /* 重置所有单元格样式 */
    .specs-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        text-indent: 0;
    }
    
    /* 利用data-label属性创建卡片式布局 */
    .specs-table td[data-label] {
        position: relative;
    }
    
    /* 系统要求列 - 作为卡片标题 */
    .specs-table td[data-label="系统要求"] {
        background: rgba(230, 57, 70, 0.2);
        padding: 18px 20px 12px !important;
        font-size: 18px;
        font-weight: 600;
        color: var(--accent);
        border-bottom: 1px solid rgba(230, 57, 70, 0.1) !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 参数列 - 作为卡片内容 */
    .specs-table td[data-label="参数"] {
        padding: 15px 20px 18px !important;
        font-size: 16px;
        line-height: 1.6;
        color: var(--text-light);
        white-space: normal !important;
        word-break: break-word !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 移除所有可能的额外间距 */
    .specs-table tr:last-child {
        margin-bottom: 0;
    }
    
    /* 确保表格本身没有额外的边框或间距 */
    .specs-table,
    .specs-table > tbody,
    .specs-table > tbody > tr {
        border: none;
    }
}

/* 应用场景部分 */
.applications {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.app-card {
    background: rgba(26, 26, 46, 0.7);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.25);
    border-color: rgba(230, 57, 70, 0.3);
}

.app-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.app-card:hover .app-image img {
    transform: scale(1.1);
}

.app-content {
    padding: 25px;
}

.app-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-light);
}

.app-content p {
    color: var(--text-gray);
    margin-bottom: 15px;
    font-size: 15px;
}

/* CTA部分 */
.cta-section {
    background: linear-gradient(90deg, var(--accent-dark), var(--accent));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button-light {
    background: white;
    color: var(--accent);
    border: none;
    border-radius: 30px;
    padding: 16px 38px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-light:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-button-dark {
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    padding: 16px 38px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.cta-button-dark:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .navbar.scrolled {
        padding: 10px 20px;
    }
    
    .xinxifb-hero {
        min-height: 100vh;
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .hero-text-content h1 {
        font-size: 36px;
    }
    
    .hero-text-content p {
        font-size: 16px;
    }
    
    .xinxifb-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .features-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .applications {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .functions-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* 减小间距 */
    }
    
    .function-item {
        padding: 18px 15px; /* 减小内边距 */
    }
    
    .function-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 10px; /* 减小图标下边距 */
    }
    
    .function-item h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .function-item p {
        font-size: 13px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    section {
        padding: 60px 0;
    }
    
    /* 技术规格响应式设计 - 移动端改为卡片式布局 */
    .specs-container {
        overflow-x: visible;
    }
    
    .specs-table {
        display: block;
        margin-top: 20px;
    }
    
    .specs-table thead {
        display: none;
    }
    
    .specs-table tbody {
        display: block;
    }
    
    .specs-table tr {
        display: block;
        margin-bottom: 20px;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(230, 57, 70, 0.1);
        background: rgba(26, 26, 46, 0.7);
    }
    
    .specs-table td {
        display: block;
        text-align: left;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .specs-table td:last-child {
        border-bottom: none;
    }
    
    .specs-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: var(--accent);
        margin-right: 10px;
    }
}