/* Modern CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    color: #000000;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

h1 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #000000;
    font-weight: bold;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

/* Demo Slides */
.demo-slide {
    min-width: 100%;
    padding: 2rem;
}

.demo-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Media Section */
.demo-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.architecture-img,
.demo-video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.architecture-img {
    height: auto;
    max-width: 100%;
}

.demo-video {
    height: 300px;
    object-fit: cover;
}

/* Demo Info */
.demo-info {
    text-align: center;
    padding: 1rem;
}

.demo-title {
    font-size: 1.8rem;
    color: #000000;
    margin-bottom: 1rem;
    font-weight: bold;
}

.demo-description {
    font-size: 1.1rem;
    color: #333333;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.try-demo-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.try-demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background: #333333;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    border: 1px solid #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
    color: #000000;
}

.carousel-control:hover {
    background-color: #000000;
    color: #ffffff;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cccccc;
    border: 1px solid #000000;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background: #000000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo-media {
        grid-template-columns: 1fr;
    }

    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
}