/* AIBlock 进阶套件 产品详情页样式 */

/* 内容区域 */
.aiblock_advanced_content {
    width: 100%;
    background-color: #fff;
}

/* Section 1 样式 */
.aiblock_advanced_section_1 {
    width: 100%;
    overflow: hidden;
}

.advanced-section1-image-container {
    position: relative;
    width: 100%;
}

.advanced-section1-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.advanced-section1-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.advanced-section1-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-70%);
    text-align: center;
    color: #fff;
    z-index: 2;
    width: 90%;
    max-width: 1350px;
}

.advanced-section1-title {
    font-size: 56px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.advanced-section1-subtitle {
    font-size: 26.5px;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.95;
}

/* Hover Section 样式 */
.aiblock_advanced_hover_section {
    background-color: #fff;
    padding: 160px 0;
    overflow: hidden;
}

.advanced-hover-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 50px;
}

.advanced-hover-title {
    font-size: 54px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.advanced-hover-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    max-width: 1334px;
    margin: 0 auto;
}

.advanced-hover-cards {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0 50px;
    gap: 20px;
    transition: transform 0.5s ease;
}

.advanced-card {
    flex: 0 0 60%;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    cursor: pointer;
    opacity: 0.6;
    max-width: 1334px;
    width: 70%;
}

.advanced-card.active {
    opacity: 1;
    z-index: 2;
}

.advanced-hover-cards:has(.advanced-card:nth-child(1).active) {
    transform: translateX(calc(50% - 25% - 10px));
}

.advanced-hover-cards:has(.advanced-card:nth-child(2).active) {
    transform: translateX(calc(-50% + 25% - 10px));
}

.advanced-card-image {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
}

.advanced-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.advanced-card-content {
    padding: 30px;
}

.advanced-card-title {
    font-size: 30px;
    font-weight: bold;
    color: #3C3C3C;
    margin-bottom: 15px;
    line-height: 1.3;
}

.advanced-card-desc {
    font-size: 19px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    width: 50%;
}

/* Section 2 - 产品展示区域样式 */
.aiblock_advanced_section_2 {
    width: 100%;
    background-color: #f5f5f5;
    padding: 160px 0;
}

.advanced-section2-container {
    max-width: 1400px;
    width: 60%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

/* 左侧导航栏 */
.advanced-sidebar {
    flex: 0 0 20%;
    max-width: 400px;

    border-radius: 8px;
    overflow: hidden;
    height: fit-content;
}

.sidebar-item {
    padding: 18px 25px;
    font-size: 16px;
    background-color: #fff;
    margin-bottom: 20px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.sidebar-item:last-child {
    border-bottom: none;
}

.sidebar-item:hover {
    background-color: #f8f8f8;
    color: #ff6600;
}

.sidebar-item.active {
    background-color: #000;
    color: #fff;
    /* font-weight: 500; */
}

/* .sidebar-item.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background-color: #ff6600;
} */

.sidebar-item.has-submenu {
    display: flex;
    flex-direction: column;
    padding: 0;
}

.sidebar-item.has-submenu > .sidebar-item-text {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sidebar-item.has-submenu > .sidebar-item-text p {
    margin: 0;
    flex: 1;
}

.sidebar-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 10px;
}

.sidebar-item.has-submenu.expanded .sidebar-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8f8f8;
}

.sidebar-item.has-submenu.expanded .sidebar-submenu {
    max-height: 200px;
}

.sidebar-subitem {
    padding: 12px 25px 12px 45px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-subitem:last-child {
    border-bottom: none;
}

.sidebar-subitem:hover {
    background-color: #fff;
    color: #ff6600;
}

.sidebar-subitem.active {
    color: #ff6600;
    font-weight: 500;
}

/* 右侧产品网格 */
.advanced-products-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-height: calc(3 * (150px + 25px + 25px + 20px + 10px + 14px + 10px + 14px) + 2 * 20px);
    overflow-y: auto;
    padding-right: 10px;
}

/* 自定义橙色滚动条 */
.advanced-products-grid::-webkit-scrollbar {
    width: 8px;
}

.advanced-products-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.advanced-products-grid::-webkit-scrollbar-thumb {
    background: #ff6600;
    border-radius: 4px;
}

.advanced-products-grid::-webkit-scrollbar-thumb:hover {
    background: #ff8533;
}

/* Firefox滚动条样式 */
.advanced-products-grid {
    scrollbar-width: thin;
    scrollbar-color: #ff6600 #f0f0f0;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 10%;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0%;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-title {
    font-size: 18px;
    font-weight: 400;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.product-desc {
    font-size: 14px;
    color: #999;
    line-height: 1.5;
    margin: 0;
}

/* Section 2 原有样式保留 */
.aiblock_advanced_section_2_old {
    width: 100%;
    overflow: hidden;
}

.advanced-section2-image-container {
    position: relative;
    width: 100%;
}

.advanced-section2-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.advanced-section2-text-overlay {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #010101;
    z-index: 2;
    width: 90%;
    max-width: 1350px;
}

.advanced-section2-title {
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #333;
}

.advanced-section2-subtitle {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
    color: #333;
    max-width: 2000px;
    margin: 0 auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Section 3 样式 */
.aiblock_advanced_section_3 {
    width: 100%;
    background-color: #fff;
    padding: 160px 50px;
}

.advanced-section3-header {
    text-align: center;
    margin-bottom: 60px;
}

.advanced-section3-title {
    font-size: 54px;
    font-weight: bold;
    color: #3f3f3f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.advanced-section3-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
    max-width: 1334px;
    margin: 0 auto;
}

.advanced-section3-image-container {
    width: 70%;
    max-width: 1334px;
    margin: 0 auto 60px;
}

.advanced-section3-main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.advanced-section3-features {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    width: 50%;
    margin: 0 auto;
}

.advanced-section3-feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advanced-section3-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.advanced-section3-feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advanced-section3-feature-text {
    font-size: 24px;
    color: #444444;
    line-height: 1.4;
    margin: 0;
}

/* Section 4 样式 */
.aiblock_advanced_section_4 {
    width: 100%;
    overflow: hidden;
}

.advanced-section4-image-container {
    position: relative;
    width: 100%;
}

.advanced-section4-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.advanced-section4-text-overlay {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #010101;
    z-index: 2;
    width: 90%;
    max-width: 1350px;
}

.advanced-section4-title {
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #fff;
}

.advanced-section4-subtitle {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    opacity: 0.95;
    color: #fff;
    max-width: 2000px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 1440px) {
    .advanced-section1-title,
    .advanced-section2-title,
    .advanced-section3-title,
    .advanced-section4-title {
        font-size: 46.3px;
    }

    .advanced-section1-subtitle,
    .advanced-section2-subtitle,
    .advanced-section3-subtitle,
    .advanced-section4-subtitle {
        font-size: 21.6px;
    }
    
    .advanced-hover-title {
        font-size: 46.3px;
    }

    .advanced-hover-subtitle {
        font-size: 21.6px;
    }
    
    .advanced-card-title {
        font-size: 27px;
    }
    
    .advanced-card-desc {
        font-size: 17.5px;
    }
    
    .advanced-section3-features {
        width: 60%;
        gap: 30px;
    }
    
    .advanced-section3-feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .advanced-section3-feature-text {
        font-size: 22px;
    }
    
    .advanced-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .product-image {
        height: 130px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-desc {
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .advanced-section1-title,
    .advanced-section2-title,
    .advanced-section3-title,
    .advanced-section4-title {
        font-size: 38.6px;
    }

    .advanced-section1-subtitle,
    .advanced-section2-subtitle,
    .advanced-section3-subtitle,
    .advanced-section4-subtitle {
        font-size: 17.1px;
    }
    
    .advanced-section1-text-overlay,
    .advanced-section2-text-overlay,
    .advanced-section4-text-overlay {
        top: 10%;
    }
    
    .aiblock_advanced_section_3 {
        padding: 60px 40px;
    }
    
    .advanced-section3-header {
        margin-bottom: 50px;
    }
    
    .advanced-section3-image-container {
        width: 60%;
        margin-bottom: 50px;
    }
    
    .advanced-section3-features {
        gap: 60px;
    }
    
    .advanced-section3-feature-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .advanced-section3-feature-text {
        font-size: 22px;
    }
    
    .advanced-hover-title {
        font-size: 38.6px;
    }

    .advanced-hover-subtitle {
        font-size: 17.1px;
    }
    
    .advanced-card-title {
        font-size: 24px;
    }
    
    .advanced-card-desc {
        font-size: 16px;
    }
    
    .advanced-section2-container {
        padding: 0 40px;
        gap: 30px;
    }
    
    .advanced-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .product-card {
        padding: 18px;
    }
    
    .product-image {
        height: 120px;
    }
    
    .product-title {
        font-size: 15px;
    }
    
    .product-desc {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .advanced-section1-title,
    .advanced-section2-title,
    .advanced-section3-title,
    .advanced-section4-title {
        font-size: 27px;
    }

    .advanced-section1-subtitle,
    .advanced-section2-subtitle,
    .advanced-section3-subtitle,
    .advanced-section4-subtitle {
        font-size: 12.6px;
    }
    
    .advanced-section1-text-overlay,
    .advanced-section2-text-overlay,
    .advanced-section4-text-overlay {
        top: 8%;
    }
    
    .aiblock_advanced_section_3 {
        padding: 50px 30px;
    }
    
    .advanced-section3-header {
        margin-bottom: 40px;
    }
    
    .advanced-section3-image-container {
        width: 70%;
        margin-bottom: 40px;
    }
    
    .advanced-section3-features {
        width: 70%;
        gap: 30px;
    }
    
    .advanced-section3-feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 12px;
    }
    
    .advanced-section3-feature-text {
        font-size: 18px;
    }
    
    .aiblock_advanced_hover_section {
        padding: 50px 0;
    }
    
    .advanced-hover-header {
        padding: 0 30px;
        margin-bottom: 40px;
    }
    
    .advanced-hover-title {
        font-size: 27px;
    }

    .advanced-hover-subtitle {
        font-size: 12.6px;
    }
    
    .advanced-hover-cards {
        flex-direction: column;
        padding: 0 30px;
        transform: none !important;
    }
    
    .advanced-card {
        flex: 0 0 100%;
        opacity: 1 !important;
        transform: scale(1) !important;
        margin-bottom: 20px;
    }
    
    .advanced-card-title {
        font-size: 21px;
    }
    
    .advanced-card-desc {
        font-size: 14.5px;
    }
    
    .advanced-card-content {
        padding: 20px;
    }
    
    .advanced-section2-container {
        flex-direction: column;
        padding: 0 30px;
    }
    
    .advanced-sidebar {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        overflow-x: auto;
        border-radius: 8px;
    }
    
    .sidebar-item {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 15px 20px;
        border-bottom: none;
        border-right: 1px solid #f0f0f0;
    }
    
    .sidebar-item:last-child {
        border-right: none;
    }
    
    .sidebar-item.active::after {
        display: none;
    }
    
    .advanced-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-image {
        height: 100px;
    }
    
    .product-title {
        font-size: 14px;
    }
    
    .product-desc {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .advanced-section1-title,
    .advanced-section2-title,
    .advanced-section3-title,
    .advanced-section4-title {
        font-size: 21.2px;
    }

    .advanced-section1-subtitle,
    .advanced-section2-subtitle,
    .advanced-section3-subtitle,
    .advanced-section4-subtitle {
        font-size: 10.2px;
    }
    
    .advanced-hover-title {
        font-size: 21.2px;
    }

    .advanced-hover-subtitle {
        font-size: 10.2px;
    }
    
    .advanced-card-title {
        font-size: 18px;
    }
    
    .advanced-card-desc {
        font-size: 11.5px;
    }
    
    .aiblock_advanced_section_3 {
        padding: 30px 20px;
    }
    
    .advanced-section3-header {
        margin-bottom: 30px;
    }
    
    .advanced-section3-image-container {
        width: 90%;
        margin-bottom: 30px;
    }
    
    .advanced-section3-features {
        width: 90%;
        flex-direction: column;
        gap: 30px;
    }
    
    .advanced-section3-feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }
    
    .advanced-section3-feature-text {
        font-size: 16px;
    }
    
    .advanced-section2-container {
        padding: 0 20px;
    }
    
    .sidebar-item {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .advanced-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        padding: 12px;
    }
    
    .product-image {
        height: 80px;
        margin-bottom: 12px;
    }
    
    .product-title {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .product-desc {
        font-size: 10px;
    }
}

/* 1920分辨率适配 */
@media screen and (max-width: 1920px) {
    .product-card {
        height: 240px;
    }
    
    .product-title {
        font-size: 16px;
    }
}
