/* 产品详情页面样式 */

.product-hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--light-black) 100%);
    color: #fff;
    padding: 100px 0 60px;
    text-align: center;
}

.product-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.product-hero-content h1 span {
    color: var(--accent);
    margin-left: 10px;
    text-shadow: 0 0 20px rgba(128, 128, 128, 0.8),
                 0 0 40px rgba(128, 128, 128, 0.4);
    animation: glow-pulse 3s ease-in-out infinite alternate;
}

.product-hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 产品概览部分 */
.product-overview {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

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

.product-image {
    text-align: center;
}

.product-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.product-details h2 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(128, 128, 128, 0.6),
                 0 0 40px rgba(128, 128, 128, 0.3);
}

.product-description p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #e0e0e0;
}

.price-tag {
    margin-top: 30px;
    display: flex;
    align-items: center;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-accent);
    margin-right: 20px;
}

/* 特性部分 */
.product-features {
    padding: 80px 0;
    background-color: var(--light-black);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 50px;
    text-shadow: 0 0 20px rgba(128, 128, 128, 0.6),
                 0 0 40px rgba(128, 128, 128, 0.3);
}

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

.feature-card {
    background: var(--dark-gray);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(128, 128, 128, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
                rgba(128, 128, 128, 0.2) 0%, 
                rgba(160, 160, 160, 0.1) 50%, 
                rgba(128, 128, 128, 0.2) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(128, 128, 128, 0.8),
                 0 0 40px rgba(128, 128, 128, 0.4);
    animation: icon-glow 2s ease-in-out infinite alternate;
}

@keyframes icon-glow {
    from {
        text-shadow: 0 0 20px rgba(128, 128, 128, 0.8),
                     0 0 40px rgba(128, 128, 128, 0.4);
    }
    to {
        text-shadow: 0 0 30px rgba(128, 128, 128, 1),
                     0 0 50px rgba(128, 128, 128, 0.6);
    }
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #bbbbbb;
    line-height: 1.6;
}

/* 功能部分 */
.product-functions {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.functions-grid {
    display: grid;
    gap: 30px;
}

.function-item {
    display: flex;
    background: var(--light-black);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
    border: 1px solid rgba(128, 128, 128, 0.2);
    position: relative;
    overflow: hidden;
}

.function-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
                rgba(128, 128, 128, 0.2) 0%, 
                rgba(160, 160, 160, 0.1) 50%, 
                rgba(128, 128, 128, 0.2) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.function-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(128, 128, 128, 0.2);
}

.function-item:hover::before {
    opacity: 1;
}

.function-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-right: 25px;
    min-width: 60px;
    text-align: center;
    text-shadow: 0 0 15px rgba(128, 128, 128, 0.8),
                 0 0 30px rgba(128, 128, 128, 0.4);
}

.function-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.function-content p {
    color: #bbbbbb;
    line-height: 1.6;
}

/* 应用场景部分 */
.product-applications {
    padding: 80px 0;
    background-color: var(--light-black);
}

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

.application-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--dark-gray);
    border-radius: 10px;
    transition: background 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(128, 128, 128, 0.2);
    position: relative;
    overflow: hidden;
}

.application-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
                rgba(128, 128, 128, 0.2) 0%, 
                rgba(160, 160, 160, 0.1) 50%, 
                rgba(128, 128, 128, 0.2) 100%);
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.application-card:hover {
    background: var(--light-black);
    box-shadow: 0 5px 15px rgba(128, 128, 128, 0.2);
}

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

.application-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(128, 128, 128, 0.8),
                 0 0 40px rgba(128, 128, 128, 0.4);
}

.application-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.application-card p {
    color: #bbbbbb;
}

/* 技术规格部分 */
.tech-specs {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.specs-table {
    max-width: 800px;
    margin: 0 auto;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background: var(--light-black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.specs-table th, .specs-table td {
    padding: 15px 25px;
    text-align: left;
    border-bottom: 1px solid #333333;
}

.specs-table th {
    background-color: var(--dark-gray);
    color: #fff;
    font-weight: 600;
}

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

.specs-table tr:hover td {
    background-color: var(--dark-gray);
}

/* CTA 部分 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    color: #fff;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

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

@media (max-width: 768px) {
    .product-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .function-item {
        flex-direction: column;
    }
    
    .function-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .specs-table th, .specs-table td {
        padding: 12px 15px;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-card {
        margin-bottom: 30px;
    }
}

/* 产品对比部分样式 */
.products-comparison {
    padding: 80px 0;
    background-color: var(--dark-gray);
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.product-card {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: #555;
}

.product-card.featured {
    border: 2px solid var(--accent);
    background: #1f1f1f;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-card .product-image {
    text-align: center;
    margin-bottom: 25px;
}

.product-card .product-image img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.product-info h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
    text-align: center;
}

.tech-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.tech-badge.network {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.4);
}

.tech-badge.hardware {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.4);
}

.product-desc {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.advantages {
    margin-bottom: 25px;
}

.advantages h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantages ul {
    list-style: none;
    padding: 0;
}

.advantages li {
    color: #aaa;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.advantages li i {
    margin-right: 10px;
    color: var(--accent);
    font-size: 0.8rem;
}

.product-card.featured .advantages li i {
    color: #ffc107;
}

.price-section {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.price-section .price {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
    margin-bottom: 15px;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: var(--light-accent);
    transform: translateY(-2px);
}

/* 技术对比部分样式 */
.technology-comparison {
    padding: 80px 0;
    background-color: var(--light-black);
}

.tech-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.tech-item {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.tech-item.featured {
    border: 2px solid var(--accent);
    background: #1f1f1f;
}

.tech-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.tech-header h3 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 10px;
}

.tech-type {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    background: rgba(128, 128, 128, 0.2);
    color: var(--accent);
    border: 1px solid rgba(128, 128, 128, 0.3);
}

.tech-item.featured .tech-type {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.4);
}

.tech-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

.flow-step {
    text-align: center;
    flex: 1;
}

.step-num {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 30px;
    margin-bottom: 8px;
}

.tech-item.featured .step-num {
    background: #ffc107;
    color: #000;
}

.flow-step p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.flow-arrow {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 10px;
}

.tech-specs h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.tech-specs ul {
    list-style: none;
    padding: 0;
}

.tech-specs li {
    color: #aaa;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* 技术对比响应式 */
@media (max-width: 992px) {
    .tech-comparison-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .tech-flow {
        flex-direction: column;
        gap: 15px;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
}

/* CTA按钮组样式 */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.cta-buttons .btn {
    min-width: 180px;
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* 增强对比表格样式 */
.specs-table table {
    background: #1a1a1a;
}

.specs-table th:nth-child(2) {
    background: rgba(0, 123, 255, 0.1);
    border-left: 3px solid #007bff;
}

.specs-table th:nth-child(3) {
    background: rgba(255, 193, 7, 0.1);
    border-left: 3px solid #ffc107;
}

.specs-table td:nth-child(2) {
    background: rgba(0, 123, 255, 0.05);
}

.specs-table td:nth-child(3) {
    background: rgba(255, 193, 7, 0.05);
    font-weight: 600;
}

/* 突出显示Cat盒子的优势 */
.specs-table tr:nth-child(3) td:nth-child(3),
.specs-table tr:nth-child(4) td:nth-child(3) {
    color: #ffc107;
    font-weight: bold;
} 