/* ===== 首页特有样式 ===== */

/* 主要内容区 */
.promotion-section {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    border: 1px solid #333;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.promotion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
}

.right-sidebar {
    position: absolute;
    top: 20px;
    right: 2rem; 
    width: 200px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 下载卡片 */
.download-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #333;
    border-left: 3px solid #00ffff;
    border-radius: 8px;
}

/* 倒计时卡片 */
.countdown-card {
    background: rgba(26, 26, 26, 0.9);
    border: 1px solid #333;
    border-left: 3px solid #ff6b6b;
    border-radius: 8px;
    height: 100%; 
    display: flex;
    flex-direction: column;
}

.countdown-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deadline {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 8px;
}

.countdown-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: #00ffaa;
    margin: 8px 0;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-status {
    font-size: 0.75rem;
    color: #888;
    margin-top: 5px;
}

/* 特性卡片 */
.feature-card {
    padding: 1.5rem;
    text-align: center;
}

.feature-card:hover { 
    border-color: #00ffff; 
}

.feature-icon {
    margin-bottom: 1rem;
}

.feature-card h5 { 
    color: #00ffff; 
    margin-bottom: 0.5rem;
}

/* 列表样式 */
.list-group-item {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid #333;
    color: #fff;
}

/* ===== 新增：功能模块卡片样式 ===== */

/* 模块基础样式 */
.feature-module.module-wrapper {
    display: block;
    padding: 20px;
    border: 1px solid #00f0ff;
    border-radius: 4px;
    background-color: #111;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-module.module-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.2);
}

/* 基础重置样式 */
.feature-module img {
    filter: brightness(1.1);
    display: block;
    max-width: 100%;
}

/* 卡片1: 软件简介样式 */
.feature-module .product-header {
    display: flex;
    align-items: center; 
    gap: 12px; 
    margin-bottom: 20px;
}

.feature-module .product-logo img {
    width: 40px;
    height: auto;
}

.feature-module .product-info {
    text-align: left;
    flex: 1;
}

.feature-module .product-info h4 {
    margin-bottom: 5px;
    line-height: 1.4;
    color: #fff;
    font-size: 1.1rem;
}

.feature-module .product-info p {
    color: #ccc; 
    line-height: 1.4;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.feature-module .content-row {
    display: flex;
    align-items: center;
    gap: 16px; 
    margin-top: 15px; 
    width: 100%;
}

.feature-module .main-label {
    flex: 1; 
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.feature-module .tags-container {
    flex: 1; 
    display: flex; 
    gap: 8px;
    justify-content: flex-end;
}

.feature-module .rounded-tag {
    padding: 6px 14px;
    border-radius: 20px; 
    background-color: #222;
    border: 1px solid #00f0ff;
    color: #00f0ff;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.feature-module .rounded-tag:hover {
    background-color: #00f0ff;
    color: #111;
}

/* 卡片2-6共用样式 */
.feature-module .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.feature-module .section-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.feature-module .section-header p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
    margin-bottom: 0;
}

/* 卡片2: 开发流程样式 */
.feature-module .process-section {
    width: 100%;
    text-align: center;
}

.feature-module .feature-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-module .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.feature-module .icon-container img {
    width: 40px;
    height: 40px;
}

.feature-module .arrow-container {
    display: flex;
    align-items: center;
    padding: 0 5px;
}

.feature-module .arrow-container img {
    opacity: 0.8;
    width: 20px;
    height: auto;
}

.feature-module .feature-text {
    font-size: 0.9rem;
    color: #00f0ff;
    font-weight: 500;
    white-space: nowrap;
}

/* 卡片3: 仿真展示样式 */
.feature-module .simulation-section,
.feature-module .molding-section {
    width: 100%;
    text-align: center;
}

.feature-module .simulation-image-container,
.feature-module .molding-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 100%;
}

.feature-module .simulation-image-container img,
.feature-module .molding-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.1);
}

/* 卡片5: 图层设计样式 */
.feature-module .layer-section {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.feature-module .layer-image-container {
    flex: 1;
    min-width: 120px;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.1);
}

.feature-module .layer-image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.feature-module .layer-image-container:hover img {
    transform: scale(1.02);
}

/* 卡片6: 花样定制样式 */
.feature-module .flower-section {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.feature-module .flower-item {
    flex: 1;
    min-width: 120px;
    max-width: 100%;
    text-align: center;
}

.feature-module .sub-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #00f0ff;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.feature-module .flower-img-container {
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 4px;
    background-color: #1a1a1a;
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 240, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-module .flower-img-container:hover {
    border-color: #00f0ff;
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.feature-module .flower-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-module .flower-img-container:hover .flower-img {
    transform: scale(1.05);
}

.feature-module .section-footer {
    text-align: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-module .section-footer p {
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .promotion-section {
        width: 100%;
        margin-left: 0;
        left: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 1.5rem 0;
    }
    
    .activity-content {
        padding: 0 1rem;
    }
    
    .right-sidebar { 
        position: relative; 
        top: auto; 
        right: auto; 
        width: 100%; 
        max-width: 300px; 
        margin: 0 auto 20px;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .download-card,
    .countdown-card {
        width: 48%;
    }
    
    /* 卡片移动端适配 */
    .feature-module .feature-icons {
        gap: 5px;
    }
    
    .feature-module .icon-container img {
        width: 30px;
        height: 30px;
    }
    
    .feature-module .arrow-container img {
        width: 15px;
    }
    
    .feature-module .flower-img-container {
        height: 100px;
    }
    
    .feature-module .layer-section {
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .right-sidebar {
        flex-direction: column;
    }
    
    .download-card,
    .countdown-card {
        width: 100%;
    }
    
    /* 卡片小屏幕适配 */
    .feature-module.module-wrapper {
        padding: 15px;
    }
    
    .feature-module .product-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .feature-module .product-info {
        text-align: center;
    }
    
    .feature-module .content-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-module .tags-container {
        justify-content: center;
    }
    
    .feature-module .flower-section {
        flex-direction: column;
    }
    
    .feature-module .flower-item {
        min-width: 100%;
    }
}
/* ===== 轮播样式 ===== */
.carousel-container {
    max-width: 800px; /* 固定最大宽度 */
    margin: 0 auto;
    position: relative;
}

#featuresCarousel {
    height: 400px; /* 固定轮播高度 */
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

.carousel-item {
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel-item > .feature-module {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

/* 确保所有卡片内容在固定区域内适配 */
.carousel-item .feature-module .section-header,
.carousel-item .feature-module .product-header,
.carousel-item .feature-module .process-section,
.carousel-item .feature-module .simulation-section,
.carousel-item .feature-module .molding-section,
.carousel-item .feature-module .layer-section,
.carousel-item .feature-module .flower-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 调整卡片内容以适应固定高度 */
.carousel-item .section-header h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.carousel-item .section-header p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.carousel-item .flower-img-container {
    height: 100px;
}

.carousel-item .layer-image-container img {
    max-height: 150px;
}

.carousel-item .simulation-image-container img,
.carousel-item .molding-image-container img {
    max-height: 200px;
}

/* 轮播指示器 */
.carousel-indicators {
    bottom: -50px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #666;
    margin: 0 5px;
    border: none;
}

.carousel-indicators button.active {
    background-color: #00f0ff;
}

/* 轮播控制器 */
.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 240, 255, 0.4);
    opacity: 1;
}

.carousel-control-prev {
    left: 15px;
}

.carousel-control-next {
    right: 15px;
}

/* 轮播计数器 */
.carousel-counter {
    font-size: 1.2rem;
    color: #00f0ff;
    font-weight: 600;
}

#currentSlide {
    color: white;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .carousel-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    #featuresCarousel {
        height: 350px;
    }
    
    .carousel-item > .feature-module {
        padding: 20px;
    }
    
    .carousel-item .section-header h4 {
        font-size: 1.1rem;
    }
    
    .carousel-item .section-header p {
        font-size: 0.85rem;
    }
    
    .carousel-item .flower-img-container {
        height: 80px;
    }
    
    .carousel-item .layer-image-container img {
        max-height: 120px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 576px) {
    #featuresCarousel {
        height: 320px;
    }
    
    .carousel-item > .feature-module {
        padding: 15px;
    }
    
    .carousel-item .layer-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel-item .layer-image-container {
        min-width: 100%;
    }
    
    .carousel-item .flower-section {
        flex-direction: column;
        gap: 15px;
    }
}
/* ===== 优化轮播样式 ===== */
.features-carousel-container {
    position: relative;
    padding: 0 50px; /* 为左右箭头留空间 */
}

#featuresCarousel {
    min-height: 450px; /* 最小高度，但可以自适应内容 */
    background: transparent;
    border: none;
    overflow: visible;
}

.carousel-inner {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 30px;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* 卡片大小自适应 */
.carousel-item .feature-module {
    height: 380px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 调整卡片内容样式以适配小窗口 */
.carousel-item .product-info h4 {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.3;
}

.carousel-item .product-info p {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
}

.carousel-item .section-header h4 {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    line-height: 1.3;
}

.carousel-item .section-header p {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    line-height: 1.4;
}

/* 图片自适应 */
.carousel-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.carousel-item .simulation-image-container img,
.carousel-item .molding-image-container img {
    max-height: 150px;
    width: auto;
    margin: 0 auto;
}

.carousel-item .layer-image-container img {
    max-height: 120px;
    width: auto;
}

.carousel-item .flower-img-container {
    height: 80px;
}

/* 调整开发流程图标大小 */
.carousel-item .icon-container img {
    width: clamp(28px, 4vw, 40px);
    height: clamp(28px, 4vw, 40px);
}

.carousel-item .arrow-container img {
    width: clamp(12px, 2vw, 20px);
}

/* 控制器样式 */
.carousel-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.5);
    opacity: 0.8;
    transition: all 0.3s ease;
    top: 0;
    transform: none;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 240, 255, 0.4);
    border-color: #00f0ff;
    opacity: 1;
}

.carousel-indicators-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    margin: 0;
    position: relative;
    bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #00f0ff;
    transform: scale(1.2);
}

.carousel-counter {
    font-size: 1rem;
    color: #aaa;
    font-weight: 600;
}

#currentSlide {
    color: #00f0ff;
}

.mobile-hint {
    color: #666;
    font-size: 0.85rem;
}

.mobile-hint i {
    margin-right: 5px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .carousel-item .feature-module {
        height: 400px;
    }
}

@media (max-width: 992px) {
    .features-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-inner {
        padding: 25px;
    }
    
    .carousel-item .feature-module {
        height: 420px;
    }
    
    .carousel-item .flower-section {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .features-carousel-container {
        padding: 0 30px;
    }
    
    .carousel-inner {
        padding: 20px;
        min-height: 400px;
    }
    
    .carousel-item .feature-module {
        height: 380px;
    }
    
    .carousel-item .row {
        --bs-gutter-x: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-item .layer-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel-item .layer-image-container {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .features-carousel-container {
        padding: 0 20px;
    }
    
    .carousel-inner {
        padding: 15px;
        min-height: 350px;
    }
    
    .carousel-item .feature-module {
        height: 360px;
        padding: 15px;
    }
    
    .carousel-control-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        order: 2;
    }
    
    .carousel-indicators-wrapper {
        order: 1;
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* 在小屏幕上每页只显示1个卡片 */
    .carousel-item .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .carousel-item .feature-module {
        height: auto;
        min-height: 350px;
    }
}

/* 超小屏幕特殊处理 */
@media (max-width: 400px) {
    .carousel-item .feature-module {
        padding: 12px;
        min-height: 320px;
    }
    
    .carousel-item .product-info h4 {
        font-size: 0.85rem;
    }
    
    .carousel-item .section-header h4 {
        font-size: 0.9rem;
    }
    
    .carousel-item .section-header p {
        font-size: 0.75rem;
    }
    
    .carousel-item .icon-container img {
        width: 24px;
        height: 24px;
    }
    
    .carousel-item .flower-img-container {
        height: 70px;
    }
}
/* ===== 优化轮播样式 ===== */
.features-carousel-container {
    position: relative;
    padding: 0 50px; /* 为左右箭头留空间 */
}

#featuresCarousel {
    min-height: 500px; /* 增加最小高度给图片更多空间 */
    background: transparent;
    border: none;
    overflow: visible;
}

.carousel-inner {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 25px;
    min-height: 500px;
    display: flex;
    align-items: stretch;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

/* 卡片大小自适应 - 移除固定高度 */
.carousel-item .feature-module {
    height: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* 调整卡片内容区域 - 让内容自适应 */
.carousel-item .section-header {
    flex-shrink: 0;
    margin-bottom: 15px;
}

.carousel-item .product-info h4 {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    line-height: 1.3;
    margin-bottom: 5px;
}

.carousel-item .product-info p {
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    color: #ccc;
}

.carousel-item .section-header h4 {
    font-size: clamp(0.95rem, 2.2vw, 1.2rem);
    line-height: 1.3;
    margin-bottom: 8px;
}

.carousel-item .section-header p {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    line-height: 1.4;
    color: #ccc;
}

/* 图片容器样式 - 关键修复 */
.carousel-item .simulation-section,
.carousel-item .molding-section,
.carousel-item .layer-section,
.carousel-item .flower-section,
.carousel-item .process-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 150px; /* 最小高度确保有空间 */
}

/* 图片容器 - 移除固定高度 */
.carousel-item .simulation-image-container,
.carousel-item .molding-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    min-height: 120px;
}

/* 图片样式 - 关键修复：移除固定高度限制 */
.carousel-item .simulation-image-container img,
.carousel-item .molding-image-container img {
    max-height: 180px; /* 改为最大高度，不是固定高度 */
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down; /* 改为scale-down，图片会缩小但不会放大 */
}

/* 图层设计图片样式 */
.carousel-item .layer-section {
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.carousel-item .layer-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.carousel-item .layer-image-container img {
    max-height: 150px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down;
}

/* 花样定制样式 */
.carousel-item .flower-section {
    display: flex;
    gap: 15px;
    flex: 1;
    align-items: stretch;
    margin: 10px 0;
}

.carousel-item .flower-item {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.carousel-item .sub-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #00f0ff;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.carousel-item .flower-img-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a1a1a;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    padding: 5px;
    min-height: 100px;
}

.carousel-item .flower-img {
    max-height: 90px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down;
}

/* 开发流程图标样式 */
.carousel-item .feature-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.carousel-item .icon-container img {
    width: clamp(35px, 5vw, 50px);
    height: clamp(35px, 5vw, 50px);
}

.carousel-item .arrow-container img {
    width: clamp(15px, 2vw, 25px);
    opacity: 0.7;
}

.carousel-item .feature-text {
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    margin-top: 5px;
}

/* 卡片底部文字 */
.carousel-item .section-footer {
    flex-shrink: 0;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-item .section-footer p {
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.3;
    margin: 0;
}

/* 控制器样式保持不变... */
.carousel-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.5);
    opacity: 0.8;
    transition: all 0.3s ease;
    top: 0;
    transform: none;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 240, 255, 0.4);
    border-color: #00f0ff;
    opacity: 1;
}

.carousel-indicators-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    margin: 0;
    position: relative;
    bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #00f0ff;
    transform: scale(1.2);
}

.carousel-counter {
    font-size: 1rem;
    color: #aaa;
    font-weight: 600;
}

#currentSlide {
    color: #00f0ff;
}

.mobile-hint {
    color: #666;
    font-size: 0.85rem;
}

.mobile-hint i {
    margin-right: 5px;
}

/* 响应式调整 - 针对图片显示优化 */
@media (max-width: 1200px) {
    .carousel-inner {
        min-height: 480px;
    }
    
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 160px;
    }
    
    .carousel-item .layer-image-container img {
        max-height: 130px;
    }
    
    .carousel-item .flower-img {
        max-height: 80px;
    }
}

@media (max-width: 992px) {
    .features-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-inner {
        padding: 20px;
        min-height: 460px;
    }
    
    .carousel-item .feature-module {
        padding: 15px;
    }
    
    .carousel-item .flower-section {
        flex-direction: column;
        gap: 15px;
    }
    
    .carousel-item .flower-img-container {
        min-height: 90px;
    }
    
    .carousel-item .flower-img {
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .features-carousel-container {
        padding: 0 30px;
    }
    
    .carousel-inner {
        padding: 15px;
        min-height: 420px;
    }
    
    .carousel-item .row {
        --bs-gutter-x: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-item .layer-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel-item .layer-image-container {
        width: 100%;
    }
    
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 140px;
    }
    
    .carousel-item .icon-container img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .features-carousel-container {
        padding: 0 20px;
    }
    
    .carousel-inner {
        padding: 12px;
        min-height: 380px;
    }
    
    .carousel-item .feature-module {
        padding: 12px;
        min-height: 350px;
    }
    
    .carousel-control-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        order: 2;
    }
    
    .carousel-indicators-wrapper {
        order: 1;
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* 在小屏幕上每页只显示1个卡片 */
    .carousel-item .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* 小屏幕图片调整 */
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 120px;
    }
    
    .carousel-item .layer-image-container img {
        max-height: 110px;
    }
    
    .carousel-item .flower-img {
        max-height: 60px;
    }
    
    .carousel-item .flower-img-container {
        min-height: 80px;
    }
}

/* 超小屏幕特殊处理 */
@media (max-width: 400px) {
    .carousel-item .feature-module {
        padding: 10px;
        min-height: 320px;
    }
    
    .carousel-inner {
        min-height: 350px;
        padding: 10px;
    }
    
    .carousel-item .product-info h4 {
        font-size: 0.85rem;
    }
    
    .carousel-item .section-header h4 {
        font-size: 0.9rem;
    }
    
    .carousel-item .section-header p {
        font-size: 0.75rem;
    }
    
    .carousel-item .icon-container img {
        width: 28px;
        height: 28px;
    }
    
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 100px;
    }
    
    .carousel-item .layer-image-container img {
        max-height: 90px;
    }
}
/* ===== 优化轮播样式 - 统一布局 ===== */
.features-carousel-container {
    position: relative;
    padding: 0 50px;
}

#featuresCarousel {
    min-height: 520px;
    background: transparent;
    border: none;
    overflow: visible;
}

.carousel-inner {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 25px;
    min-height: 520px;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

/* 统一卡片容器 */
.carousel-item .feature-module {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
    padding: 20px;
    border: 1px solid #00f0ff;
    border-radius: 8px;
    background-color: #111;
}

/* 统一卡片头部区域 */
.card-header-section {
    flex-shrink: 0;
    margin-bottom: 20px;
    min-height: 80px;
}

/* 统一卡片内容区域 */
.card-content-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

/* 统一头部样式 */
.carousel-item .product-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.carousel-item .product-logo img {
    width: 40px;
    height: auto;
}

.carousel-item .product-info h4 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 5px;
    color: #fff;
}

.carousel-item .product-info p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
    margin: 0;
}

.carousel-item .section-header {
    text-align: center;
}

.carousel-item .section-header h4 {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    color: #fff;
}

.carousel-item .section-header p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #ccc;
    margin: 0;
}

/* 卡片1: 内容区域 */
.carousel-item .content-row {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.carousel-item .main-label {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
}

.carousel-item .tags-container {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.carousel-item .rounded-tag {
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #222;
    border: 1px solid #00f0ff;
    color: #00f0ff;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.carousel-item .rounded-tag:hover {
    background-color: #00f0ff;
    color: #111;
}

/* 卡片2: 开发流程 */
.carousel-item .process-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item .feature-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.carousel-item .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.carousel-item .icon-container img {
    width: 40px;
    height: 40px;
}

.carousel-item .arrow-container {
    padding: 0 5px;
}

.carousel-item .arrow-container img {
    width: 20px;
    opacity: 0.8;
}

.carousel-item .feature-text {
    font-size: 0.85rem;
    color: #00f0ff;
    font-weight: 500;
}

/* 统一图片内容区域 */
.carousel-item .image-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 卡片3、4: 单图片样式 */
.carousel-item .simulation-image-container,
.carousel-item .molding-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 10px 0;
}

.carousel-item .simulation-image-container img,
.carousel-item .molding-image-container img {
    max-height: 180px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down;
}

/* 卡片5: 图层设计 */
.carousel-item .layer-section {
    display: flex;
    gap: 15px;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carousel-item .layer-image-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 45%;
}

.carousel-item .layer-image-container img {
    max-height: 150px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down;
}

/* 卡片6: 花样定制 */
.carousel-item .flower-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
}

.carousel-item .flower-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.carousel-item .sub-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00f0ff;
    text-align: center;
    margin: 0;
}

.carousel-item .flower-img-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: #1a1a1a;
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 4px;
    padding: 5px;
}

.carousel-item .flower-img {
    max-height: 90px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: scale-down;
}

.carousel-item .section-footer {
    flex-shrink: 0;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-item .section-footer p {
    font-size: 0.8rem;
    color: #aaa;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

/* 控制器样式 */
.carousel-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
    width: 45px;
    height: 45px;
    background-color: rgba(0, 240, 255, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(0, 240, 255, 0.5);
    opacity: 0.8;
    transition: all 0.3s ease;
    top: 0;
    transform: none;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 240, 255, 0.4);
    border-color: #00f0ff;
    opacity: 1;
}

.carousel-indicators-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.carousel-indicators {
    display: flex;
    gap: 8px;
    margin: 0;
    position: relative;
    bottom: 0;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #444;
    border: none;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #00f0ff;
    transform: scale(1.2);
}

.carousel-counter {
    font-size: 1rem;
    color: #aaa;
    font-weight: 600;
}

#currentSlide {
    color: #00f0ff;
}

.mobile-hint {
    color: #666;
    font-size: 0.85rem;
}

.mobile-hint i {
    margin-right: 5px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .carousel-item .feature-module {
        min-height: 400px;
    }
    
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 160px;
    }
    
    .carousel-item .layer-image-container img {
        max-height: 130px;
    }
}

@media (max-width: 992px) {
    .features-carousel-container {
        padding: 0 40px;
    }
    
    .carousel-inner {
        padding: 20px;
        min-height: 480px;
    }
    
    .carousel-item .feature-module {
        min-height: 380px;
        padding: 15px;
    }
    
    .carousel-item .flower-img-container {
        height: 90px;
    }
    
    .carousel-item .flower-img {
        max-height: 80px;
    }
}

@media (max-width: 768px) {
    .features-carousel-container {
        padding: 0 30px;
    }
    
    .carousel-inner {
        padding: 15px;
        min-height: 440px;
    }
    
    .carousel-item .feature-module {
        min-height: 360px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-item .layer-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel-item .layer-image-container {
        max-width: 100%;
    }
    
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 140px;
    }
}

@media (max-width: 576px) {
    .features-carousel-container {
        padding: 0 20px;
    }
    
    .carousel-inner {
        padding: 12px;
        min-height: 400px;
    }
    
    /* 在小屏幕上每页只显示1个卡片 */
    .carousel-item .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }
    
    .carousel-item .col-md-6:last-child {
        margin-bottom: 0;
    }
    
    .carousel-item .feature-module {
        min-height: 350px;
        padding: 15px;
    }
    
    .carousel-control-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        order: 2;
    }
    
    .carousel-indicators-wrapper {
        order: 1;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 120px;
    }
    
    .carousel-item .flower-img-container {
        height: 80px;
    }
    
    .carousel-item .flower-img {
        max-height: 70px;
    }
}

/* 超小屏幕特殊处理 */
@media (max-width: 400px) {
    .carousel-item .feature-module {
        min-height: 320px;
        padding: 12px;
    }
    
    .carousel-inner {
        min-height: 360px;
    }
    
    .carousel-item .product-info h4,
    .carousel-item .section-header h4 {
        font-size: 1rem;
    }
    
    .carousel-item .product-info p,
    .carousel-item .section-header p {
        font-size: 0.8rem;
    }
    
    .carousel-item .simulation-image-container img,
    .carousel-item .molding-image-container img {
        max-height: 100px;
    }
}