/* 产品页面样式 */
.page-header {
    background: linear-gradient(135deg, #0052D9 0%, #00A870 100%);
    padding: 120px 0 80px;
    color: #fff;
    text-align: center;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

/* 产品分类导航 */
.product-categories {
    background: var(--bg-white);
    padding: 30px 0;
    position: sticky;
    top: 64px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.category-nav {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
}

.category-nav::-webkit-scrollbar {
    height: 4px;
}

.category-nav::-webkit-scrollbar-track {
    background: var(--bg-light);
}

.category-nav::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 2px;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.category-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.category-link i {
    font-size: 16px;
}

/* 产品详情 */
.product-detail {
    padding: 80px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.product-detail:nth-child(even) {
    background: var(--bg-light);
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-info {
    position: relative;
}

.product-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(90deg, #FF6B00, #FF8F00);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-detail-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.product-detail-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-size: 15px;
}

.product-features i {
    color: var(--secondary-color);
    font-size: 16px;
}

.product-specs {
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.spec-item {
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.spec-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
}

.db-types {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.db-type {
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.storage-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.storage-type-item {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
}

.storage-type-name {
    color: var(--text-primary);
    font-weight: 500;
}

.storage-type-price {
    color: var(--primary-color);
    font-weight: 600;
}

.product-stats {
    margin-bottom: 30px;
}

.product-stats h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stats-grid .stat-item {
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
}

.stats-grid .stat-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 4px;
}

.stats-grid .stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.security-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.security-service {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-light);
    border-radius: 8px;
}

.security-service i {
    font-size: 24px;
    color: var(--primary-color);
}

.security-service span {
    font-weight: 500;
    color: var(--text-primary);
}

.ai-capabilities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.ai-capability {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.ai-capability i {
    font-size: 24px;
    color: var(--primary-color);
}

.ai-capability span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 82, 217, 0.05), rgba(0, 168, 112, 0.05));
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.price-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-unit {
    color: var(--text-secondary);
    font-size: 14px;
}

.product-price .btn {
    margin-left: auto;
}

/* 产品视觉卡片 */
.product-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-card {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 82, 217, 0.3);
}

.visual-card i {
    font-size: 120px;
    color: #fff;
    z-index: 2;
}

/* 脉冲动画 */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: pulseRing 2s ease-out infinite;
}

.pulse-ring.delay-1 {
    animation-delay: 0.6s;
}

.pulse-ring.delay-2 {
    animation-delay: 1.2s;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* 旋转环 */
.rotate-ring {
    position: absolute;
    width: 120%;
    height: 120%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 数据流动画 */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: dataFlow 3s ease-in-out infinite;
}

.data-particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.data-particle:nth-child(2) {
    top: 60%;
    right: 30%;
    animation-delay: 1s;
}

.data-particle:nth-child(3) {
    bottom: 20%;
    left: 40%;
    animation-delay: 2s;
}

@keyframes dataFlow {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-40px) scale(1.5);
        opacity: 0.6;
    }
}

/* 网络节点 */
.network-nodes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.network-nodes .node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: nodePulse 2s ease-in-out infinite;
}

.network-nodes .node:nth-child(1) {
    top: 25%;
    left: 25%;
    animation-delay: 0s;
}

.network-nodes .node:nth-child(2) {
    top: 25%;
    right: 25%;
    animation-delay: 0.5s;
}

.network-nodes .node:nth-child(3) {
    bottom: 25%;
    left: 35%;
    animation-delay: 1s;
}

.network-nodes .node:nth-child(4) {
    bottom: 25%;
    right: 35%;
    animation-delay: 1.5s;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.6;
    }
}

/* 盾牌脉冲 */
.shield-pulse {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: shieldPulse 3s ease-in-out infinite;
}

@keyframes shieldPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* AI连接 */
.ai-connections {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ai-connections .connection {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: aiConnect 4s ease-in-out infinite;
}

.ai-connections .connection:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.ai-connections .connection:nth-child(2) {
    top: 50%;
    right: 20%;
    animation-delay: 1.3s;
}

.ai-connections .connection:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2.6s;
}

@keyframes aiConnect {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(20px, -20px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-10px, 10px) scale(1);
        opacity: 0.6;
    }
    75% {
        transform: translate(10px, -10px) scale(1.2);
        opacity: 0.8;
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-title {
        font-size: 28px;
    }

    .spec-grid,
    .stats-grid,
    .security-services,
    .ai-capabilities {
        grid-template-columns: 1fr;
    }

    .product-price {
        flex-direction: column;
        text-align: center;
    }

    .product-price .btn {
        margin-left: 0;
        margin-top: 16px;
    }
}
