/* Video Showcase Section */
.video-showcase {
    padding: 120px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.video-showcase:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 0;
}

.video-container {
    margin: 60px auto;
    max-width: 900px;
    position: relative;
    z-index: 1;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 1s ease;
    animation: videoAppear 1s ease-out;
}

@keyframes videoAppear {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-10deg) translateY(50px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateY(0);
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), 0 10px 20px rgba(79, 70, 229, 0.1);
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: all 0.5s ease;
}

.video-container:hover .video-wrapper {
    transform: translateY(-10px);
    box-shadow: 0 40px 70px rgba(0,0,0,0.2), 0 15px 25px rgba(79, 70, 229, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    cursor: pointer;
    transition: opacity 0.4s ease;
}

.video-overlay:hover {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.play-button {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.play-button:before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.3);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.1);
        opacity: 0;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.6);
}

.play-button i {
    color: white;
    font-size: 35px;
    margin-left: 8px;
}

.video-overlay p {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.video-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.video-feature {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 30px;
    border-radius: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.video-feature:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #4f46e5, #06b6d4);
    transition: all 0.4s ease;
    z-index: -1;
}

.video-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.video-feature:hover:before {
    width: 100%;
    opacity: 0.05;
}

.video-feature-icon {
    font-size: 2.5rem;
    color: white;
    margin-right: 25px;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
    transition: all 0.4s ease;
}

.video-feature:hover .video-feature-icon {
    transform: scale(1.1) rotate(10deg);
}

.video-feature-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #333;
    font-weight: 700;
}

.video-feature-content p {
    margin: 0;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* Dashboard Showcase Section */
.dashboard-showcase {
    padding: 120px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.dashboard-showcase:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.03) 0%, rgba(6, 182, 212, 0.03) 100%);
    clip-path: polygon(0 0, 100% 20%, 80% 100%, 0 100%);
    z-index: 0;
}

.dashboard-slider {
    margin: 60px auto;
    max-width: 1100px;
    position: relative;
    z-index: 1;
}

.dashboard-slide {
    display: none;
    animation: fadeIn 0.8s ease-in-out;
}

.dashboard-slide.active {
    display: block;
}

.dashboard-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15), 0 10px 20px rgba(79, 70, 229, 0.1);
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.5s ease;
}

.dashboard-image:hover {
    transform: perspective(1000px) rotateX(2deg) translateY(-10px);
    box-shadow: 0 40px 70px rgba(0,0,0,0.2), 0 15px 25px rgba(79, 70, 229, 0.15);
}

.dashboard-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: all 0.5s ease;
}

.dashboard-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0));
    padding: 50px 30px 30px;
    color: white;
}

.dashboard-caption h3 {
    margin: 0 0 10px;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.dashboard-caption p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
    max-width: 80%;
    line-height: 1.6;
}

.dashboard-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.dashboard-nav-button {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.dashboard-nav-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4);
}

.dashboard-dots {
    display: flex;
    margin: 0 30px;
}

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

.dashboard-dot.active {
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    transform: scale(1.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #06b6d4);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}
