/* RF天线科技 - 主样式文件 */

:root {
    --primary-color: #0066cc;
    --secondary-color: #0a1628;
    --accent-color: #ff6600;
    /* ===== 大厂科技风浅色背景系统 ===== */
    --surface-base:      #f0f4f8;     /* 页面基础底色 - 冷灰蓝 */
    --surface-card:       #ffffff;     /* 卡片底色 - 纯白 */
    --surface-elevated:   #ffffff;     /* 浮起区域 */
    --surface-glass:      rgba(255,255,255,0.72);  /* 毛玻璃 */
    /* 深色区域（Hero/制造实力/统计/页脚）保持不变 */
    --dark-bg: #0c1222;
    --dark-surface: #131b2e;
    --dark-card: #1a2540;
    /* 文字 */
    --text-color: #1a2332;
    --text-muted: #5a6a7e;
    --text-on-dark: rgba(255,255,255,0.88);
    --text-on-dark-muted: rgba(255,255,255,0.55);
    /* 边框与分割线 */
    --border-color: #dde4ee;
    --border-subtle: #e8eef5;
    /* 功能色 */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    /* 科技蓝渐变 */
    --tech-gradient: linear-gradient(135deg, #0052b4 0%, #0077e6 40%, #00a0e9 100%);
    --tech-glow: 0 0 30px rgba(0,119,230,0.15);
}

/* ===== 全局样式 - 科技浅色背景 ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    background: var(--surface-base);  /* 整页冷灰蓝底色 */
    background-image:
        radial-gradient(ellipse at 20% 0%, rgba(0,102,204,0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0,160,233,0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

main.main-content {
    background: transparent;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== 导航栏 - 浅色风格 ===== */
.navbar {
    background: #ffffff !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: none;
    padding: 0.7rem 0;
    transition: all 0.3s ease;
}

/* 滚动后导航栏 */
.navbar.scrolled {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: #1a1a1a !important;
    letter-spacing: -0.02em;
    position: relative;
}

/* Logo 信号波纹动画效果 */
.logo-ripple-wrapper {
    position: relative;
    display: inline-block;
}

.logo-ripple-wrapper::before,
.logo-ripple-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 38px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    pointer-events: none;
    animation: signal-ripple 2.5s ease-out infinite;
}

.logo-ripple-wrapper::after {
    animation-delay: 0.8s;
}

@keyframes signal-ripple {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

.logo-ripple-wrapper img {
    position: relative;
    z-index: 1;
    height: 60px !important;  /* 增大logo */
    width: auto;
}

.navbar-brand i {
    color: var(--primary-color);
    margin-right: 8px;
    font-size: 1.2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.15rem;
    border-radius: 8px;
    color: #1a1a1a !important;
    transition: all 0.25s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(0,102,204,0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 2.5px;
    background: var(--tech-gradient);
    border-radius: 2px;
}

/* 语言切换按钮 */
.lang-switch {
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.4rem 0.7rem !important;
    margin-left: 0.5rem;
    border-radius: 6px;
    background: rgba(0,102,204,0.08);
    border: 1px solid rgba(0,102,204,0.2);
    color: var(--primary-color) !important;
}

.lang-switch:hover {
    background: rgba(0,102,204,0.15);
    transform: scale(1.05);
}

/* 下拉菜单 */
.dropdown-menu {
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(10,22,40,0.1);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.97);
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 0.55rem 1.25rem;
    border-radius: 8px;
    margin: 0 0.35rem;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(0,102,204,0.08);
    color: var(--primary-color);
}

/* 移动端汉堡按钮 */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0,102,204,0.2) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,35,50,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Hero 区域 - 深色科技风 ===== */
.hero-section {
    background: linear-gradient(135deg, #0a1628 0%, #0c2340 40%, #004080 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(0,119,230,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0,160,233,0.1) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 网格线装饰 */
.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,160,233,0.3), transparent);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.88;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ===== 区块标题 - 科技风 ===== */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ===== 产品卡片 - 科技浅色风格 ===== */
.product-card {
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(10,22,40,0.04),
        0 4px 20px rgba(10,22,40,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    background: var(--surface-card);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 12px 40px rgba(10,22,40,0.12),
        0 0 0 1px rgba(0,102,204,0.08);
}

.product-card .card-img-top {
    height: 150px;
    object-fit: contain;
    object-position: center;
    padding: 0.5rem;
    background: #ffffff;
}

.product-card .card-body {
    padding: 1rem;
}

.product-card .card-title {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.product-card .card-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .badge {
    background: var(--tech-gradient);
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    border: none;
}

/* ===== 相关产品卡片（详情页底部） ===== */
.hover-card {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 16px;
}
.hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10,22,40,0.12) !important;
}
.hover-scale-105 {
    transition: transform 0.35s ease;
}
.hover-card:hover .hover-scale-105 {
    transform: scale(1.05);
}
.object-fit-contain {
    object-fit: contain;
}

/* ===== 特性图标区 - 浅色科技卡片 ===== */
.feature-box {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--surface-card);
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(10,22,40,0.04),
        0 4px 16px rgba(10,22,40,0.06);
    border: 1px solid var(--border-subtle);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--tech-gradient);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow:
        0 8px 30px rgba(10,22,40,0.1),
        0 0 0 1px rgba(0,102,204,0.08);
    border-color: rgba(0,102,204,0.15);
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(0,102,204,0.08), rgba(0,160,233,0.08));
    padding: 1rem;
    border-radius: 14px;
    display: inline-flex;
    width: auto;
    height: auto;
    transition: all 0.35s ease;
}

.feature-box:hover i {
    background: linear-gradient(135deg, var(--primary-color), #00a0e9);
    color: #fff;
    transform: scale(1.05);
}

.feature-box h5 {
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 制造实力卡片 */
.strength-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #eef2f7;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.strength-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066cc, #00a0e9);
    opacity: 0;
    transition: opacity 0.3s;
}

.strength-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,102,204,0.12);
    border-color: #c5dff5;
}

.strength-card:hover::before {
    opacity: 1;
}

.strength-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0066cc15, #00a0e915);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}

.strength-icon i {
    font-size: 1.8rem;
    color: #0066cc;
    transition: transform 0.3s;
}

.strength-card:hover .strength-icon {
    background: linear-gradient(135deg, #0066cc, #00a0e9);
}

.strength-card:hover .strength-icon i {
    color: #fff;
    transform: scale(1.1);
}

.strength-card h5 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a2744;
    margin-bottom: 0.5rem;
}

.strength-card p {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.5;
}

.strength-tag {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.25rem 0.75rem;
    background: #0066cc10;
    color: #0066cc;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
}

@media (max-width: 991px) {
    .strength-card {
        padding: 1.2rem 1rem;
    }
    .strength-icon {
        width: 52px;
        height: 52px;
    }
    .strength-icon i {
        font-size: 1.5rem;
    }
    .strength-card h5 {
        font-size: 0.95rem;
    }
}

/* 导航栏旧样式已移除 - 使用上方新玻璃态风格 */

/* ===== 统计区 - 深色科技风（保持） ===== */
.stats-section {
    background-color: #0a1628;
    color: white;
    padding: 55px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 500px; height: 200%;
    background: radial-gradient(ellipse, rgba(0,119,230,0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* 网格线装饰 */
.stats-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.01) 49.5%, rgba(255,255,255,0.01) 50.5%, transparent 50.5%),
        linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.01) 49.5%, rgba(255,255,255,0.01) 50.5%, transparent 50.5%);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 0;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.stat-item:last-child::after {
    display: none;
}

@media (max-width: 767px) {
    .stat-item::after {
        display: none;
    }
}

.stat-item h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #a8c8e8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 0;
}

    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.8;
    margin-bottom: 0;
}

/* ===== 文章卡片 - 浅色科技风 ===== */
.article-card {
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(10,22,40,0.04),
        0 4px 20px rgba(10,22,40,0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface-card);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(10,22,40,0.1);
}

.article-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.article-card .card-body {
    padding: 1.25rem;
}

.article-card .article-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.article-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* ===== 表单控件 - 科技风 ===== */
.form-control {
    border-radius: 10px;
    padding: 0.7rem 1rem;
    border: 1px solid var(--border-subtle);
    background: var(--surface-card);
    transition: all 0.25s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.12);
    outline: none;
}

.btn-primary {
    background: var(--tech-gradient);
    border: none;
    border-radius: 10px;
    padding: 0.7rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,102,204,0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004a9e 0%, #0066bb 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,102,204,0.3);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--border-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
    box-shadow: 0 2px 12px rgba(0,102,204,0.25);
}

.btn-accent {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
}

.btn-accent:hover {
    background: #e65c00;
    border-color: #e65c00;
    color: white;
}

/* 页脚 */
.footer {
    background: var(--dark-bg) !important;
}

.footer a:hover {
    color: var(--accent-color) !important;
}

/* 产品详情页 */
.product-detail {
    padding: 40px 0;
}

.product-gallery {
    border-radius: 12px;
    overflow: hidden;
}

.product-info h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.product-specs {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
}

.product-specs table th {
    font-weight: 500;
    color: var(--text-muted);
    width: 40%;
}

/* 分类筛选 */
.category-filter {
    margin-bottom: 2rem;
}

.category-filter .btn {
    margin: 0.25rem;
    border-radius: 20px;
}

.category-filter .btn.active {
    background: var(--primary-color);
    color: white;
}

/* 后台管理样式 */
.admin-sidebar {
    background: var(--dark-bg);
    min-height: calc(100vh - 56px);
    padding-top: 1rem;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 1.25rem;
    border-radius: 0;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

.admin-sidebar .nav-link i {
    width: 24px;
    margin-right: 0.5rem;
}

.admin-content {
    padding: 2rem;
    background: var(--light-bg);
    min-height: calc(100vh - 56px);
}

.admin-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* 表格样式 */
.table-admin {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.table-admin th {
    background: var(--light-bg);
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--border-color);
}

.table-admin td {
    vertical-align: middle;
}

/* 上传区域 */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    background: var(--light-bg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover {
    border-color: var(--primary-color);
    background: rgba(0,102,204,0.05);
}

.upload-zone i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* 分页 */
.pagination {
    justify-content: center;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 0.2rem;
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted) !important;
}

/* 响应式 */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stat-item h2 {
        font-size: 2rem;
    }
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* 面包屑 */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

/* 标签 */
.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0.25rem;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0,102,204,0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 消息提示 */
.alert-toast {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ============ 天线信号动画 ============ */
.antenna-animation {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 500px;
}

.antenna-icon {
    font-size: 15rem !important;
    opacity: 0.25;
    color: #fff;
    z-index: 2;
    animation: antennaPulse 3s ease-in-out infinite;
}

/* 信号原点 - 精确定位在天线图标发射棒的顶部圆心 */
.signal-origin {
    position: absolute;
    /* fa-broadcast-tower 图标: 发射点在图标顶部约22%位置，水平居中 */
    /* 图标15rem≈240px, 容器500px, 图标顶部=(500-240)/2=130px=26% */
    /* 发射点: 26% + 240*0.12/500 ≈ 32% */
    top: 32%;
    left: 50%;
    width: 0;
    height: 0;
    z-index: 1;
}

@keyframes antennaPulse {
    0%, 100% {
        opacity: 0.25;
        filter: drop-shadow(0 0 0px rgba(255,255,255,0));
    }
    50% {
        opacity: 0.45;
        filter: drop-shadow(0 0 30px rgba(0,150,255,0.5));
    }
}

.signal-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(0,180,255,0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: signalEmit 3s ease-out infinite;
    pointer-events: none;
}

.signal-wave.wave-1 {
    animation-delay: 0s;
}
.signal-wave.wave-2 {
    animation-delay: 0.75s;
}
.signal-wave.wave-3 {
    animation-delay: 1.5s;
}
.signal-wave.wave-4 {
    animation-delay: 2.25s;
}

@keyframes signalEmit {
    0% {
        width: 30px;
        height: 30px;
        opacity: 0.9;
        border-width: 3px;
        border-color: rgba(0,180,255,0.9);
        box-shadow: 0 0 10px rgba(0,180,255,0.4);
    }
    50% {
        opacity: 0.5;
        border-color: rgba(0,150,255,0.5);
    }
    100% {
        width: 480px;
        height: 480px;
        opacity: 0;
        border-width: 1px;
        border-color: rgba(0,100,255,0);
        box-shadow: none;
    }
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    .antenna-icon,
    .signal-wave {
        animation: none;
    }
    .antenna-icon {
        opacity: 0.2;
    }
}

/* ===== 页脚 - 深色科技风 ===== */
.footer {
    background: linear-gradient(135deg, #080e1a 0%, #0c1628 50%, #0a1220 100%) !important;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,160,233,0.25), transparent);
}

.footer-brand {
    color: #fff;
    font-weight: 600;
}

.footer-brand i {
    color: #00a8ff;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00a8ff, #0066cc);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #00a8ff;
    transform: translateX(5px);
}

.footer-contact li {
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.75rem;
}

.footer-contact i {
    color: #00a8ff;
    width: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00a8ff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,168,255,0.3);
}

.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: rgba(255,255,255,0.45);
    font-size: 0.85rem;
}

.footer-admin {
    color: rgba(255,255,255,0.15);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-admin:hover {
    color: rgba(255,255,255,0.5);
}

/* 手机端动画适配 */
@media (max-width: 991px) {
    .antenna-animation {
        width: 280px;
        height: 280px;
    }
    .antenna-icon {
        font-size: 8rem !important;
    }
    .signal-origin {
        /* 图标8rem≈128px, 容器280px, 图标顶部=(280-128)/2=76px=27% */
        /* 发射点: 27% + 128*0.12/280 ≈ 33% */
        top: 33%;
        left: 50%;
    }
    @keyframes signalEmit {
        0% {
            width: 20px;
            height: 20px;
            opacity: 0.9;
            border-width: 2px;
            border-color: rgba(0,180,255,0.9);
            box-shadow: 0 0 8px rgba(0,180,255,0.4);
        }
        50% {
            opacity: 0.5;
            border-color: rgba(0,150,255,0.5);
        }
        100% {
            width: 260px;
            height: 260px;
            opacity: 0;
            border-width: 1px;
            border-color: rgba(0,100,255,0);
            box-shadow: none;
        }
    }
}

/* ============ NVIDIA风格制造实力横幅 ============ */
.strength-banner {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 50%, #0d0d0d 100%);
    padding: 2.5rem 0 2rem;
    position: relative;
}

.strength-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,102,204,0.15) 0%, transparent 60%);
    pointer-events: none;
}

.banner-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #a8c8e8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

/* NVIDIA风格卡片 */
.strength-card-nv {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 220px;
    text-decoration: none;
    background: #222;
}

.strength-card-nv .card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

/* 默认渐变背景 - 每张卡片不同配色 */
.strength-card-nv:nth-child(1) .card-bg {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #1e4a6d 100%);
}
.strength-card-nv:nth-child(2) .card-bg {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 50%, #2d3748 100%);
}
.strength-card-nv:nth-child(3) .card-bg {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 50%, #1e3a5f 100%);
}
.strength-card-nv:nth-child(4) .card-bg {
    background: linear-gradient(135deg, #234e52 0%, #285e61 50%, #1e4d4a 100%);
}

.strength-card-nv:hover .card-bg {
    transform: scale(1.08);
}

.strength-card-nv .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.75) 60%, rgba(0,0,0,0.9) 100%);
    transition: background 0.4s ease;
}

.strength-card-nv:hover .card-overlay {
    background: linear-gradient(180deg, rgba(0,51,102,0.3) 0%, rgba(0,51,102,0.7) 60%, rgba(0,51,102,0.85) 100%);
}

.strength-card-nv .card-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.25rem;
    color: #fff;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.strength-card-nv:hover .card-content {
    transform: translateY(-8px);
}

.strength-card-nv .card-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc, #00a0e9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.strength-card-nv:hover .card-icon {
    opacity: 1;
    transform: translateY(0);
}

.strength-card-nv .card-icon i {
    font-size: 1.1rem;
    color: #fff;
}

.strength-card-nv h5 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #fff;
}

.strength-card-nv p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.strength-card-nv .card-stat {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(0,160,233,0.25);
    color: #00d4ff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 991px) {
    .banner-title {
        font-size: 1.5rem;
    }
    .banner-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem !important;
    }
    .strength-card-nv {
        height: 160px;
    }
    .strength-card-nv .card-content {
        padding: 0.9rem;
    }
    .strength-card-nv h5 {
        font-size: 0.95rem;
    }
    .strength-card-nv p {
        font-size: 0.75rem;
        margin-bottom: 0.35rem;
    }
    .strength-card-nv .card-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
    }
    .strength-card-nv .card-stat {
        font-size: 0.68rem;
    }
}

/* ===== 产品数据表 - 浅色科技风 ===== */
.product-table-toolbar {
    background: var(--surface-card);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    box-shadow:
        0 1px 3px rgba(10,22,40,0.04),
        0 4px 16px rgba(10,22,40,0.06);
    border: 1px solid var(--border-subtle);
    margin-bottom: 1rem;
}

.product-data-table {
    background: var(--surface-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(10,22,40,0.04),
        0 4px 16px rgba(10,22,40,0.06);
    border: 1px solid var(--border-subtle);
    margin-bottom: 0;
}

.product-data-table thead th {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
    padding: 0.7rem 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
    user-select: none;
    transition: background 0.2s ease;
    text-align: center;
    vertical-align: middle;
}

.product-data-table thead th:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

/* 筛选下拉菜单 */
.filter-dropdown-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    flex-wrap: nowrap;
}

.filter-dropdown-wrap .th-label {
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.85rem;
    color: #495057;
}

/* 三角形图标按钮 */
.filter-icon-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    color: #999;
    padding: 0;
    line-height: 1;
    transition: all 0.15s ease;
}

.filter-icon-btn:hover {
    color: #007bff;
}

/* 筛选下拉菜单 */
.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    min-width: 120px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.filter-dropdown-menu.active {
    display: block;
}

.filter-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #495057;
    white-space: nowrap;
}

.filter-option:hover {
    background: #f8f9fa;
    color: #007bff;
}

/* 排序下拉菜单 */
.sort-dropdown-wrap {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sort-dropdown-wrap .th-label {
    white-space: nowrap;
}

.sort-select {
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #fff;
    font-size: 0.75rem;
    padding: 1px 4px;
    line-height: 1.4;
    cursor: pointer;
    color: var(--secondary-color);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: auto;
    min-width: 28px;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(0,102,204,0.12);
}

.product-data-table tbody td {
    padding: 0.85rem 0.75rem;
    vertical-align: middle;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-subtle);
}

.product-data-table tbody tr:hover {
    background: rgba(0,102,204,0.03);
}

.product-data-table tbody tr:last-child td {
    border-bottom: none;
}

.product-name-cell {
    font-weight: 500;
    color: var(--secondary-color);
}

.product-name-cell a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-name-cell a:hover {
    color: var(--primary-color);
}

.category-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(0,102,204,0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 500;
}

#columnSelector label {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
}

#columnSelector input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

#paginationInfo {
    font-size: 0.85rem;
}

.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
    font-size: 0.85rem;
    color: var(--primary-color);
    background: #fff;
    border: 1px solid var(--border-color);
}

.pagination .page-link:hover {
    background: rgba(0,102,204,0.08);
    border-color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
}

.pagination .page-item.disabled .page-link {
    color: var(--text-muted) !important;
    background: var(--surface-base);
    border-color: var(--border-subtle);
}

.no-data-row td {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.no-data-row i {
    font-size: 3rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    display: block;
}

/* 表格加载状态 */
.table-loading {
    position: relative;
    min-height: 200px;
}

.table-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* 响应式表格 */
@media (max-width: 991px) {
    .product-table-toolbar .row {
        flex-direction: column;
    }
    
    .category-slicer {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-slicer::-webkit-scrollbar {
        height: 4px;
    }
    
    .category-slicer::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 2px;
    }
    
    .product-data-table {
        font-size: 0.8rem;
    }
    
    .product-data-table thead th,
    .product-data-table tbody td {
        padding: 0.6rem 0.5rem;
    }
}

/* ========== ��ά����ɸѡ��ʽ ========== */
.dimension-filters {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border: 1px solid #b8d4f0;
    text-align: center;
}

.dimension-group {
    min-width: 160px;
}

.dimension-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0056b3;
    text-align: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #dee2e6;
}

.dimension-checkboxes {
    justify-content: center;
}

.dimension-checkbox-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px 14px;
    background: white;
    border: 1px solid #c5d8f0;
    border-radius: 25px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    user-select: none;
    text-align: center;
    color: #495057;
}

.dimension-checkbox-label:hover {
    border-color: #0080ff;
    background: #e6f2ff;
    color: #0056b3;
}

.dimension-checkbox-label input {
    display: none;
}

.dimension-checkbox-label:has(input:checked) {
    background: linear-gradient(135deg, #0080ff 0%, #0066cc 100%);
    border-color: #0080ff;
    color: #ffffff !important;
    font-weight: 500;
}

.dimension-checkbox-label:has(input:checked) span {
    color: #ffffff !important;
}

.dimension-checkbox-label:has(input:checked) * {
    color: #ffffff !important;
}

.dimension-checkbox-label input:checked + span {
    color: inherit !important;
}
