.cases {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #1a237e;
}

.browser-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* 瀏覽器視窗樣式 */
.browser-window {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

.browser-header {
    background: #f0f0f0;
    padding: 0.8rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-actions {
    display: flex;
    gap: 0.5rem;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-dot.red { background: #ff5f56; }
.browser-dot.yellow { background: #ffbd2e; }
.browser-dot.green { background: #27c93f; }

.browser-address-bar {
    flex: 1;
    background: white;
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.browser-icon {
    font-size: 1rem;
}

/* 案例輪播區域 */
.browser-content {
    position: relative;
    overflow: hidden;
    padding: 0px 50px;
}

.case-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.case-item {
    min-width: 100%;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.case-preview {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.case-info {
    flex: 1;
    padding: 2rem;
}

.case-info .case-title{
    font-size: 1.8rem;
    color: #1a237e;
    margin-bottom: 1rem;
}

.case-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-highlights {
    list-style: none;
    padding: 0;
}

.case-highlights li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.case-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #2196f3;
}

/* 導航按鈕 */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.nav-btn:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-btn.prev { left: 1rem; }
.nav-btn.next { right: 1rem; }

/* 導航圓點 */
.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #2196f3;
    transform: scale(1.2);
}

@media screen and (max-width:768px) {
    .case-item {
        display: block;
    }
    .case-info {
        padding: 0;
    }
    .case-info .case-title{
        margin: 0.8rem 0 0rem;
        font-size: 1.2rem;
    }
    .case-highlights li {
        margin-bottom: 0.2rem;
    }
}