/* 产品页面专用样式 */

/* 产品页英雄区域 */
.product-hero {
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    margin-top: 70px;
    position: relative;
}

.product-hero .hero-content {
    max-width: 100%;
    text-align: center;
}

.product-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
}

.product-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* 产品导航锚点 */
.product-anchor {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.product-anchor ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    overflow-x: auto;
}

.product-anchor li {
    margin: 0 10px;
}

.product-anchor a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    transition: all 0.3s;
    white-space: nowrap;
}

.product-anchor a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.product-anchor a:active,
.product-anchor a:focus {
    background-color: var(--primary-color);
    color: white;
}

/* 产品内容区域 */
.product-section {
    padding: 80px 0;
}

.gray-bg {
    background-color: #f8fafc;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.content-text {
    flex: 1;
}

.content-image {
    flex: 1;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--gray-color);
    text-align: center;
}

.feature-list {
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-item i {
    color: var(--primary-color);
}

/* 痛点展示 */
.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pain-point-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.pain-point-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.point-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.point-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(37, 99, 235, 0.1);
    margin-right: 15px;
    line-height: 1;
}

.pain-point-card h3 {
    color: var(--dark-color);
    margin-bottom: 0;
}

.point-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(37, 99, 235, 0.1);
}

/* 优势标签页 */
.advantages-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-button {
    padding: 12px 25px;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.tab-pane {
    display: none;
    padding: 0;
}

.tab-pane.active {
    display: block;
}

.tab-content-inner {
    display: flex;
    align-items: center;
    padding: 40px;
}

.tab-image {
    flex: 1;
    padding: 20px;
}

.tab-image img {
    max-width: 100%;
    border-radius: 8px;
}

.tab-text {
    flex: 1;
    padding: 20px;
}

.tab-text h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.tab-text ul {
    margin-top: 20px;
    list-style: none;
}

.tab-text li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.tab-text li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

/* 产品架构 */
.architecture-container {
    margin-top: 50px;
}

.architecture-image {
    width: 100%;
    max-width: 900px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.architecture-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.architecture-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.feature-card ul {
    list-style: none;
}

.feature-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 0.95rem;
}

.feature-card li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}

/* 应用场景 */
.scenarios-tabs {
    margin-top: 50px;
}

.scenario-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.scenario-button {
    padding: 12px 25px;
    background-color: white;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.scenario-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.scenario-button.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.scenario-content {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.scenario-pane {
    display: none;
    padding: 0;
}

.scenario-pane.active {
    display: block;
}

.scenario-details {
    display: flex;
    align-items: center;
    padding: 40px;
}

.scenario-text {
    flex: 1;
    padding: 20px;
}

.scenario-text h3 {
    margin-bottom: 20px;
    color: var(--dark-color);
}

.scenario-features {
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.feature i {
    color: var(--primary-color);
}

.scenario-image {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.scenario-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* 客户案例 */
.case-studies {
    margin-top: 50px;
}

.case-study {
    display: flex;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.case-image {
    flex: 1;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-logo {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: white;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.case-content {
    flex: 1;
    padding: 40px;
}

.case-content h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.case-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.case-meta i {
    margin-right: 5px;
}

.case-results {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.result-item {
    text-align: center;
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.result-label {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* CTA区域 */
.product-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.product-cta h2 {
    margin-bottom: 20px;
}

.product-cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .section-content {
        flex-direction: column;
    }
    
    .content-text, .content-image {
        width: 100%;
    }
    
    .tab-content-inner {
        flex-direction: column;
    }
    
    .scenario-details {
        flex-direction: column;
    }
    
    .case-study {
        flex-direction: column;
    }
    
    .case-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2.5rem;
    }
    
    .product-anchor ul {
        justify-content: flex-start;
    }
    
    .tab-buttons, .scenario-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tab-content-inner, .scenario-details {
        padding: 20px;
    }
    
    .case-results {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .product-hero {
        padding: 120px 0 60px;
    }
    
    .product-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .tab-image, .scenario-image {
        padding: 0;
    }
}