/* ========== 全局样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #0a0c15;
    min-height: 100vh;
    padding: 20px;
    line-height: 1.5;
    position: relative;
}
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0,230,200,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}
.kus-wrapper {
    position: relative;
    z-index: 2;
    width: min(1300px, 100%);
    margin: 0 auto;
    background: rgba(12,18,28,0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,240,200,0.15);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}
/* 头部导航 */
.kus-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(0,240,200,0.2);
    flex-wrap: wrap;
    gap: 20px;
}
.logo {
    font-size: 32px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px #00f0c8;
    text-stroke: 2px #00f0c8;
    letter-spacing: 1px;
}
.nav-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}
.nav-links a {
    color: #a0c0d0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
    color: #00f0c8;
    border-bottom-color: #00f0c8;
}
/* 页面标题 */
.page-header {
    padding: 30px 40px;
    border-bottom: 1px solid #00f0c820;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.page-title h1 {
    color: white !important;
    font-size: 32px;
    font-weight: 600;
}
.page-title .lang-indicator {
    color: #00f0c8 !important;
    font-size: 16px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.back-link {
    color: #00f0c8;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 20px;
    border: 1px solid #00f0c8;
    transition: all 0.2s;
}
.back-link:hover {
    background: #00f0c8;
    color: #0a0c15;
}
/* 筛选栏 */
.filter-bar {
    padding: 20px 40px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    border-bottom: 1px solid #00f0c820;
}
.filter-btn {
    background: transparent;
    border: 1px solid #00f0c840;
    color: #a0c0d0;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    border-radius: 0;
}
.filter-btn:hover, .filter-btn.active {
    background: #00f0c8;
    border-color: #00f0c8;
    color: #0a0c15 !important;
}
/* 产品网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 40px;
    min-height: 600px;
}
.product-card {
    background: rgba(0,20,25,0.6);
    border: 1px solid #00f0c820;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: #00f0c8;
    transition: height 0.3s ease;
}
.product-card:hover::before {
    height: 100%;
}
.product-card:hover {
    border-color: #00f0c8;
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px #00f0c8;
    background: rgba(0,40,40,0.8);
}
.product-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(145deg, #1a2a35, #0f1a22);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f0c8;
    font-size: 14px;
    border: 1px dashed #00f0c840;
    position: relative;
    overflow: hidden;
}
.product-image::after {
    content: '🔦';
    font-size: 40px;
    opacity: 0.3;
}
.product-card.has-image .product-image::after {
    display: none;
}
.product-category {
    color: #00f0c8 !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.product-name {
    color: white !important;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.product-desc {
    color: #a0b8c8 !important;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.4;
}
.product-meta {
    display: flex;
    justify-content: space-between;
    color: #8099aa !important;
    font-size: 13px;
    border-top: 1px solid #00f0c820;
    padding-top: 12px;
}
.loading {
    text-align: center;
    padding: 80px;
    color: #00f0c8;
    font-size: 18px;
    grid-column: 1 / -1;
}
.no-products {
    text-align: center;
    padding: 80px;
    color: #a0b8c8;
    font-size: 16px;
    grid-column: 1 / -1;
}
.product-count {
    padding: 0 40px 20px;
    color: #00f0c8;
    font-size: 14px;
    display: flex;
    justify-content: flex-end;
    border-bottom: 1px solid #00f0c820;
}
/* 详情页样式 */
.breadcrumb {
    padding: 20px 40px;
    border-bottom: 1px solid #00f0c820;
    color: #a0b8c8;
    font-size: 14px;
}
.breadcrumb a {
    color: #a0b8c8;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #00f0c8;
}
.breadcrumb .separator {
    margin: 0 10px;
    color: #00f0c8;
}
.lang-indicator-small {
    display: inline-block;
    margin-left: 15px;
    padding: 2px 8px;
    background: #00f0c820;
    color: #00f0c8;
    font-size: 12px;
    border: 1px solid #00f0c8;
}
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
}
.product-gallery {
    width: 100%;
    height: 400px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(145deg, #1a2a35, #0f1a22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00f0c8;
    border: 1px solid #00f0c840;
    position: relative;
    overflow: hidden;
}
.product-gallery::after {
    content: '🔦';
    font-size: 80px;
    opacity: 0.2;
}
.product-gallery.has-image::after {
    display: none;
}
.product-info h1 {
    color: white !important;
    font-size: 36px;
    margin-bottom: 15px;
}
.product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.product-category {
    color: #00f0c8 !important;
    border: 1px solid #00f0c8;
    padding: 4px 12px;
    font-size: 14px;
}
.product-id {
    color: #a0b8c8 !important;
    font-size: 14px;
}
.product-description {
    color: #a0b8c8 !important;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}
.specs-title {
    color: white !important;
    font-size: 18px;
    margin-bottom: 15px;
}
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}
.specs-table tr {
    border-bottom: 1px solid #00f0c820;
}
.specs-table td {
    padding: 12px 0;
    color: #a0b8c8 !important;
}
.specs-table td:first-child {
    color: #00f0c8 !important;
    width: 120px;
}
.action-buttons {
    display: flex;
    gap: 15px;
}
.btn {
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}
.btn-secondary {
    background: transparent;
    border: 1px solid #00f0c8;
    color: #00f0c8;
}
.btn-secondary:hover {
    background: #00f0c8;
    color: #0a0c15;
}
/* 首页样式 */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
}
.hero-title {
    font-size: clamp(36px, 6vw, 58px);
    font-weight: 700;
    color: white !important;
    margin-bottom: 20px;
}
.hero-title span {
    color: #00f0c8 !important;
    display: block;
    font-size: 0.5em;
    font-weight: 400;
    letter-spacing: 3px;
    margin-top: 10px;
}
.hero-desc {
    color: #a0b8c8 !important;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}
.lang-section {
    background: rgba(0,30,30,0.3);
    border: 1px solid #00f0c820;
    padding: 40px;
    margin: 40px 0;
}
.lang-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}
.lang-title h2 {
    color: white !important;
    font-size: 28px;
    font-weight: 500;
}
.lang-title .dot {
    width: 8px;
    height: 8px;
    background: #00f0c8;
    transform: rotate(45deg);
}
.lang-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.lang-card {
    background: rgba(0,0,0,0.4);
    border: 1px solid #00f0c830;
    padding: 30px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.lang-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #00f0c8;
    transform: scaleX(0);
    transition: transform 0.3s;
}
.lang-card:hover::before, .lang-card.active::before {
    transform: scaleX(1);
}
.lang-card:hover {
    border-color: #00f0c8;
    background: rgba(0,240,200,0.08);
    transform: translateY(-3px);
}
.lang-card.active {
    border-color: #00f0c8;
    background: rgba(0,240,200,0.12);
    box-shadow: 0 0 30px rgba(0,240,200,0.2);
}
.lang-native {
    font-size: 32px;
    font-weight: 700;
    color: white !important;
    margin-bottom: 8px;
}
.lang-english {
    color: #00f0c8 !important;
    font-size: 16px;
    letter-spacing: 1px;
}
.selection-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0,0,0,0.5);
    border: 1px solid #00f0c840;
    padding: 15px 25px;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 15px;
}
.current-lang {
    display: flex;
    align-items: center;
    gap: 15px;
}
.current-label {
    color: #8099aa !important;
    font-size: 14px;
}
.current-value {
    background: #00f0c810;
    border: 1px solid #00f0c8;
    padding: 8px 25px;
    color: #00f0c8 !important;
    font-size: 18px;
    font-weight: 600;
}
.enter-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00f0c8 !important;
}
.enter-hint .arrow {
    animation: bounce 1.5s infinite;
}
@keyframes bounce {
    0%,100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}
.enter-btn {
    display: inline-block;
    background: #00f0c8;
    color: #0a0c15;
    text-decoration: none;
    padding: 15px 45px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    border-radius: 0;
    text-transform: uppercase;
}
.enter-btn:hover {
    background: white;
    transform: scale(1.02);
    box-shadow: 0 0 30px #00f0c8;
}
/* 页脚 */
.kus-footer {
    border-top: 1px solid #00f0c820;
    padding: 40px;
    background: rgba(0,0,0,0.3);
}
.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.contact-info h3, .social-info h3 {
    color: #00f0c8 !important;
    font-size: 18px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #a0b8c8 !important;
    font-size: 15px;
}
.contact-item i {
    width: 20px;
    color: #00f0c8;
    font-size: 16px;
}
.contact-item span {
    color: white !important;
    margin-left: 5px;
}
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 1px solid #00f0c840;
    color: #00f0c8;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 24px;
}
.social-btn:hover {
    background: #00f0c8;
    border-color: #00f0c8;
    color: #0a0c15;
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #00f0c820;
    color: #3a5068;
    font-size: 13px;
}
.footer-original {
    color: #00f0c840;
    margin-top: 5px;
}
/* 分页样式（增强版） */
.pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px 40px;
    border-top: 1px solid #00f0c820;
}
.pagination-info {
    color: #00f0c8;
    font-size: 14px;
}
.pagination-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.page-item {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #00f0c840;
    color: #a0c0d0;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    background: transparent;
    padding: 0 8px;
}
.page-item:hover,
.page-item.active {
    background: #00f0c8;
    border-color: #00f0c8;
    color: #0a0c15 !important;
}
.page-item.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.page-ellipsis {
    color: #a0c0d0;
    padding: 0 5px;
    display: flex;
    align-items: center;
}
/* 加载动画 */
.loading {
    text-align: center;
    padding: 80px;
    color: #00f0c8;
    font-size: 18px;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid #00f0c820;
    border-top-color: #00f0c8;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
/* 产品卡片悬停效果增强 */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 240, 200, 0.3);
    border-color: #00f0c8;
}
.product-card:hover .product-name {
    color: #00f0c8 !important;
}
/* 空状态提示 */
.no-products {
    text-align: center;
    padding: 80px;
    color: #a0b8c8;
    font-size: 16px;
    grid-column: 1 / -1;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}
/* 移动端分页适配 */
@media (max-width: 600px) {
    .pagination-buttons {
        gap: 5px;
    }
    .page-item {
        min-width: 35px;
        height: 35px;
        font-size: 12px;
    }
}