﻿/* 更新轮播样式 */
.phone-carousel {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    background: #1e223c;
    border: 1px solid var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播控制按钮 */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(92, 107, 192, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* 轮播指示点 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dots .dot.active {
    background: var(--accent);
}


/* 第一个轮播样式 */
/* 更新轮播样式 */
.hero-phone-carousel {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    background: #1e223c;
    border: 1px solid var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.hero-carousel-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播控制按钮 */
.hero-carousel-prev,
.hero-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(92, 107, 192, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-prev { left: 10px; }
.hero-carousel-next { right: 10px; }

/* 轮播指示点 */
.hero-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.hero-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-carousel-dots .dot.active {
    background: var(--accent);
}


/* 第二个轮播样式 */
/* 更新轮播样式 */
.monitoring-phone-carousel {
    position: relative;
    width: 300px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    background: #1e223c;
    border: 1px solid var(--accent);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.monitoring-carousel-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.monitoring-carousel-slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.monitoring-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播控制按钮 */
.monitoring-carousel-prev,
.monitoring-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(92, 107, 192, 0.5);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.monitoring-carousel-prev { left: 10px; }
.monitoring-carousel-next { right: 10px; }

/* 轮播指示点 */
.monitoring-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.monitoring-carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.monitoring-carousel-dots .dot.active {
    background: var(--accent);
}