/* 硬件设备页面样式 */

/* 硬件设备头部 */
.hardware-hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0D234D 0%, #1a3a7a 100%);
    color: white;
    text-align: center;
}

.hardware-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hardware-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hardware-hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

/* 硬件优势 */
.hardware-advantages {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #0D234D;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(254, 91, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.advantage-icon i {
    color: #FE5B00;
    font-size: 2rem;
}

.advantage-item h3 {
    font-size: 1.3rem;
    color: #0D234D;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* 硬件设备目录 */
.hardware-catalog {
    padding: 80px 0;
}

.catalog-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #e0e0e0;
}

.filter-btn.active {
    background-color: #FE5B00;
    color: #fff;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.hardware-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hardware-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.hardware-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
}

.hardware-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
    background-color: transparent;
    border-radius: 6px;
}

.hardware-item:hover .hardware-image img {
    transform: scale(1.05);
}

.hardware-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 35, 77, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hardware-item:hover .hardware-overlay {
    opacity: 1;
}

.btn-details {
    background: rgba(254, 91, 0, 0.9);
    color: white;
    padding: 12px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px rgba(254, 91, 0, 0.3);
}

.btn-details i {
    font-size: 1.1rem;
    line-height: 1;
}

.btn-details:hover {
    background-color: #e05000;
}

.hardware-info {
    padding: 20px;
}

.hardware-info h3 {
    font-size: 1.2rem;
    color: #0D234D;
    margin-bottom: 10px;
    font-weight: 600;
}

.hardware-info .model {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.hardware-info .highlight {
    font-size: 1rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.hardware-actions {
    display: flex;
    justify-content: space-between;
}

.btn-download, .btn-inquiry {
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-download {
    background-color: #f1f1f1;
    color: #333;
}

.btn-download:hover {
    background-color: #e0e0e0;
}

.btn-inquiry {
    background-color: #0D234D;
    color: #fff;
}

.btn-inquiry:hover {
    background-color: #0a1b3d;
}

/* 更多设备卡片样式 */
.more-devices-card {
    border: 2px dashed #FE5B00;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    position: relative;
}

.more-devices-card:hover {
    border-color: #e05000;
    background: linear-gradient(135deg, #fff0e6 0%, #fff 100%);
    transform: translateY(-5px);
}

.more-devices-card .hardware-image {
    background: linear-gradient(135deg, #FE5B00 0%, #ff7a33 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-devices-icon {
    color: white;
    font-size: 3rem;
    opacity: 0.9;
}

.more-devices-card .hardware-overlay {
    background-color: rgba(254, 91, 0, 0.8);
}

.more-devices-card .hardware-info h3 {
    color: #FE5B00;
    font-weight: 700;
}

.more-devices-card .hardware-info .model {
    color: #FE5B00;
    font-weight: 500;
}

.more-devices-card .hardware-info .highlight {
    color: #666;
    font-style: italic;
}

.more-devices-card .btn-download {
    background-color: #FE5B00;
    color: white;
    border: 1px solid #FE5B00;
}

.more-devices-card .btn-download:hover {
    background-color: #e05000;
    border-color: #e05000;
}

.more-devices-card .btn-inquiry {
    background-color: transparent;
    color: #FE5B00;
    border: 1px solid #FE5B00;
}

.more-devices-card .btn-inquiry:hover {
    background-color: #FE5B00;
    color: white;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #FE5B00;
}

/* 询价表单 */
.inquiry-form {
    max-width: 600px;
}

.inquiry-form h2 {
    font-size: 1.8rem;
    color: #0D234D;
    margin-bottom: 10px;
    font-weight: 600;
}

.inquiry-form p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FE5B00;
    outline: none;
}

/* 解决方案匹配 */
.solution-match {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.match-tabs {
    margin-top: 40px;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 25px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    background-color: #f1f1f1;
}

.tab-btn.active {
    background-color: #0D234D;
    color: #fff;
    border-color: #0D234D;
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.solution-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.solution-image {
    flex: 1;
    min-width: 300px;
}

.solution-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.solution-details {
    flex: 1;
    min-width: 300px;
}

.solution-details h3 {
    font-size: 1.8rem;
    color: #0D234D;
    margin-bottom: 10px;
    font-weight: 600;
}

.solution-details > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.config-list {
    margin-bottom: 30px;
}

.config-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.config-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(254, 91, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.config-icon i {
    color: #FE5B00;
    font-size: 1.2rem;
}

.config-text {
    text-align: left;
}

.config-text h4 {
    font-size: 1.1rem;
    color: #0D234D;
    margin: 0 0 5px 0;
    font-weight: 600;
    text-align: left;
}

.config-text p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    text-align: left;
}

.price-estimate {
    background-color: #0D234D;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.price-estimate p {
    font-size: 1.1rem;
    margin: 0;
}

.price-estimate span {
    font-weight: 700;
    color: #FE5B00;
}

/* 解决方案优势样式 */
.solution-benefits {
    background-color: #0D234D;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.solution-benefits p {
    font-size: 1rem;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.solution-benefits p:last-child {
    margin-bottom: 0;
}

.solution-benefits i {
    color: #FE5B00;
    font-size: 0.9rem;
    flex-shrink: 0;
}

/* 服务与支持 */
.service-support {
    padding: 80px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(13, 35, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    color: #0D234D;
    font-size: 2rem;
}

.service-item h3 {
    font-size: 1.3rem;
    color: #0D234D;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    background: #fe5b00;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

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

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.cta-section .btn-primary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    background: #fff;
    color: #fe5b00;
    border-color: #fff;
    transform: translateY(-2px);
}

/* 硬件详情内容样式 */
.hardware-detail-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.detail-image {
    flex: 1;
    max-width: 350px;
}

.detail-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.detail-info {
    flex: 1;
    min-width: 300px;
}

.detail-info h2 {
    font-size: 1.8rem;
    color: #0D234D;
    margin-bottom: 10px;
    font-weight: 600;
}

.detail-info .model {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.detail-info .description {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 25px;
}

.detail-features,
.detail-specs {
    margin-bottom: 25px;
}

.detail-features h3,
.detail-specs h3 {
    font-size: 1.2rem;
    color: #0D234D;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.detail-features li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 20px;
}

.detail-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FE5B00;
    font-weight: bold;
}

.detail-specs table {
    width: 100%;
    border-collapse: collapse;
}

.detail-specs td {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
}

.detail-specs td:first-child {
    font-weight: 500;
    color: #666;
    width: 30%;
}

.detail-image-only {
    text-align: center;
    margin-bottom: 20px;
}

.detail-image-only img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-actions {
    margin-top: 30px;
    text-align: center;
}

/* 产品大图显示样式 */
.product-image-view {
    text-align: center;
    padding: 20px;
}

.product-image-view .image-container {
    margin-bottom: 20px;
}

.product-large-image {
    max-width: 100%;
    max-height: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.product-large-image:hover {
    transform: scale(1.02);
}

.product-image-view .product-info {
    margin-top: 20px;
}

.product-image-view h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.product-image-view .model-info {
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

/* 敬请期待样式 */
.coming-soon-item {
    position: relative;
    transition: all 0.3s ease;
}

.coming-soon-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.coming-soon-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.coming-soon-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.coming-soon-placeholder i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.coming-soon-text {
    background: linear-gradient(135deg, #FE5B00, #ff7b3d);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(254, 91, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-coming-soon {
    background: linear-gradient(135deg, #f0f2f5, #e1e5e9);
    color: #8a8a8a;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: not-allowed;
    display: inline-block;
    margin-right: 10px;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.coming-soon-item:hover .btn-coming-soon::before {
    left: 100%;
}

.coming-soon-item .model {
    color: #7c7c7c;
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(135deg, #FE5B00, #ff7b3d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.coming-soon-item .highlight {
    color: #666;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.4;
}

.coming-soon-item h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}

.detail-actions .btn-primary {
    background: #FE5B00;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.detail-actions .btn-primary:hover {
    background: #e54e00;
    transform: translateY(-2px);
}

/* 大按钮样式 */
.btn-large {
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    min-width: 160px !important;
    border-radius: 8px !important;
}

/* 询价表单按钮样式 */
.inquiry-form .btn-primary {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #FE5B00;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.inquiry-form .btn-primary:hover {
    background: #e54e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 91, 0, 0.3);
}

/* 感谢页面按钮样式 */
.thank-you-message .btn-primary {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #FE5B00;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.thank-you-message .btn-primary:hover {
    background: #e54e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 91, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hardware-detail-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .detail-image {
        max-width: 100%;
    }
    
    .detail-info {
        min-width: auto;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hardware-hero {
        padding: 100px 0;
    }
    
    .hardware-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .cta-section h2 {
        font-size: 2.2rem;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hardware-hero {
        padding: 80px 0;
    }
    
    .hardware-hero h1 {
        font-size: 2.2rem;
    }
    
    .hardware-hero p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .advantages-grid,
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .solution-content {
        flex-direction: column;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hardware-hero {
        padding: 60px 0;
    }
    
    .hardware-hero h1 {
        font-size: 1.8rem;
    }
    
    .hardware-hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .advantages-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-btn,
    .tab-btn {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 1.6rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .modal-content {
        margin: 20px;
        padding: 20px;
    }
}