/* AI Performance Widget Styles */

.paic-hero {
   
}

.paic-hero-container{
    display: flex;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.paic-hero-content {

}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}


.hero-main-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-animated-text {
    display: inline-block;
    position: relative;
    
}

.hero-cursor {
    display: inline-block;
    color: #ff6b35;
    width: 3px;
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 14px;
    margin-bottom: 12px;
    max-width: 500px;
}
.hero-button{
    display: inline-block;
}


.hero-video-container {
    flex: 1;
    position: relative;
    height: auto;
    min-width: 600px;
    flex-shrink: 0;
}

.hero-video-box {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background: #1a1a1a;
}

.hero-video-box:not(.active) {
    filter: brightness(0.4) saturate(0.7);

}

.hero-video-box.active {
    z-index: 10;

    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.hero-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
    z-index: 2;
}

.hero-video-box:not(.active) .video-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.hero-video-box.active .video-overlay {
    opacity: 0;
}

/* Hover effects for video boxes */
.hero-video-box:hover {

}

.hero-video-box.active:hover {

}

/* Typing animation styles */
.hero-animated-text.typing-out {
    opacity: 0;
    transform: translateY(20px);
}

.hero-animated-text.typing-in {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .paic-container {
        gap: 60px;
    }
    
    .hero-video-container {
        min-width: 500px;
        height: 500px;
    }
}

@media (max-width: 968px) {
    .paic-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .paic-content {
        max-width: 100%;
    }
    
    .hero-video-container {
        min-width: 100%;
        height: 400px;
    }
    
    .hero-main-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
}

@media (max-width: 768px) {
    
    
    .hero-video-container {
        flex: auto;
    }
    
    .hero-video-box {
        border-radius: 15px;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-badge {
        padding: 10px 20px;
        font-size: 13px;
    }
}


/* Scrolling Slider Widget Styles */
.sec-product {
    overflow: hidden;
}

.right-full {
    padding-top: 48px; /* pt-12 = 12 * 4px */
    padding-bottom: 56px; /* pb-14 = 14 * 4px */
}

@media (min-width: 1024px) {
    .right-full {
        padding-top: 80px; /* lg:py-20 = 20 * 4px */
        padding-bottom: 80px;
    }
}

.slider-viewport {
    position: relative;
}

.product-slider {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    z-index: 10;
    position: relative;
}

.custom-slide {
    width: 100%;
    flex-basis: 100%;
    flex-shrink: 0;
    height: auto;
}

.custom-slide, .line {
    position: relative;
}

.line:before {
    position: absolute;
    content: '';
    height: 100%;
    width: 3px;
    background: #F5F7FA;
    left: 0;
}

.line::after {
    content: '';
    position: absolute;
    left: 0px; /* centers the dot on 3px line */
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #2DD4BF;
    top: 0; /* top dot */
    transform: translate(-7px);
  }

@media (min-width: 1024px) {
    .custom-slide {
        width: 30.3%; /* lg:!w-[30.3%] */
        flex-basis: 30.3%; /* lg:basis-[30.3%] */
    }
}

.slide-inner {
    height: 100%;
}

.icon-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-icon-bg-top {
    width: 58px; /* w-14.5 = 14.5 * 4px */
    height: 58px; /* h-14.5 = 14.5 * 4px */
    border-radius: 8px; /* rounded-2xl */
    padding: 6px; /* p-1.5 = 1.5 * 4px */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-icon-bg-child {
    padding: 13px; /* p-[13px] */
    border-radius: 6px; /* rounded-xl */
    /* Add your background here */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.product-icon-bg-child svg {
    width: 24px; /* w-5 = 5 * 4px */
    height: 24px; /* h-5 = 5 * 4px */
    object-fit: cover;
}

.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.content-column {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    flex: 1;
}

.content-top {
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    .content-top {
        gap: 24px; /* lg:gap-6 = 6 * 4px */
    }
}

.slide-title {
    font-size: 18px; /* text-lg */
    font-weight: 500; /* font-medium */
    color: white;
    margin: 0;
    line-height: 1.4;
}

.slide-description {
    font-size: 16px; /* text-base */
    color: rgba(255, 255, 255, 0.8); /* text-white-200 equivalent */
    font-weight: 400; /* font-normal */
    margin: 0;
    line-height: 1.5;
    margin-top: 8px;
}

@media (min-width: 1024px) {
    .slide-description {
        margin-top: 0;
    }
}

.slide-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
}

@media (min-width: 1024px) {
    .slide-counter {
        margin-bottom: 12px; /* lg:mb-3 = 3 * 4px */
    }
}

.separator-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    opacity: 0.5;
    z-index: 0;
    position: relative;
}

/* Hover effects */
.custom-slide:hover .product-icon-bg-top {
    transition: transform 0.3s ease;
}

.custom-slide:hover .slide-title {
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}


.product-slider:hover {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-slide {
        min-width: 280px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .slide-inner {
        gap: 15px;
    }
    
    .slide-title {
        font-size: 16px;
    }
    
    .slide-description {
        font-size: 14px;
    }
}

/* SVG Video Integration Styles */
.svg-video-container {
    width: 100%;
    height: auto;
    position: relative;
}

.svg-video-item {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.svg-video-item:not(.active) {
    opacity: 0.4;
    filter: brightness(0.6) saturate(0.7);
}

.svg-video-item.active {
    opacity: 1;
    filter: brightness(1) saturate(1);
    z-index: 10;
}

.svg-video-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.svg-video, .svg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.svg-video {
    pointer-events: none;
}

.svg-video-item.active .svg-video {
    pointer-events: auto;
}

/* Background SVG paths */
.svg-background-path {
    transition: fill 0.3s ease;
}

.svg-video-item:hover .svg-background-path {
    fill: #1a2a4a;
}

/* Video overlay for SVG items */
.svg-video-item .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    z-index: 2;
}

.svg-video-item.active .video-overlay {
    opacity: 0;
}

/* Focus animations for SVG items */
.svg-video-item.focus-pulse {

}

@keyframes svgPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1); }
    100% { transform: scale(1); }
}

.focus-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.3);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Video play button for SVG items */
.svg-video-item .video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

.svg-video-item .video-play-button:hover {
    background: rgba(255, 107, 53, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.svg-video-item .video-play-button svg {
    margin-left: 2px;
}

/* Responsive adjustments for SVG video */
@media (max-width: 768px) {
    .svg-video-item .video-play-button {
        width: 50px;
        height: 50px;
    }
    
    .focus-ripple {
        width: 80px;
        height: 80px;
    }
}

/* Loading states for SVG videos */
.svg-video-item.video-loading {
    opacity: 0.6;
}

.svg-video-item.video-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 107, 53, 0.3);
    border-top: 3px solid rgba(255, 107, 53, 1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
    z-index: 4;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.svg-video-item.video-loaded::after {
    display: none;
}

/* Error state for SVG videos */
.svg-video-item.video-error {
    opacity: 0.5;
}

.svg-video-item .video-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 3;
}

.svg-video-item .video-fallback .fallback-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.svg-video-item .video-fallback .fallback-text {
    font-size: 12px;
}