/* ===================================
   HERO SLIDER - Premium Tech Edition
   =================================== */

/* Slider Wrapper */
.hero-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
}

.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    z-index: 1;
}

/* Allow clicks through overlay elements */
.hero-particles,
.hero-overlay {
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Gradient Overlays for Different Slides */
.gradient-ai {
    background: linear-gradient(135deg, 
        rgba(199, 234, 70, 0.15) 0%, 
        rgba(191, 219, 56, 0.15) 50%, 
        rgba(168, 208, 48, 0.15) 100%
    ) !important;
}

.gradient-cloud {
    background: linear-gradient(135deg, 
        rgba(0, 150, 255, 0.1) 0%, 
        rgba(0, 188, 212, 0.1) 50%, 
        rgba(0, 230, 118, 0.1) 100%
    ) !important;
}

/* Slide Animations */
.slide-in-left {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.slide-in-right {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Gradient Text Variations */
.gradient-text-ai {
    background: linear-gradient(135deg, #C7EA46 0%, #BFDB38 50%, #A8D030 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

.gradient-text-cloud {
    background: linear-gradient(135deg, #C7EA46 0%, #BFDB38 50%, #A8D030 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
}

/* AI Features Pills */
.ai-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.feature-pill {
    padding: 10px 20px;
    background: rgba(199, 234, 70, 0.1);
    border: 1px solid rgba(199, 234, 70, 0.3);
    border-radius: 25px;
    color: #BFDB38;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-pill:hover {
    background: rgba(199, 234, 70, 0.2);
    border-color: rgba(199, 234, 70, 0.5);
    transform: translateY(-2px);
}

/* AI Visual Elements */
.hero-visual-ai {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.digitalhr-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(199, 234, 70, 0.3);
    animation: float 6s ease-in-out infinite;
}

.digitalhr-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.digitalhr-image-wrapper:hover .digitalhr-screenshot {
    transform: scale(1.05);
}

.ai-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(199, 234, 70, 0.2) 0%, transparent 70%);
    border: 2px solid rgba(199, 234, 70, 0.3);
    position: absolute;
}

.ai-circle.pulse {
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-15px); 
    }
}

.ai-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    min-width: 150px;
    transition: all 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 126, 234, 0.5);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Cloud Visual Elements */
.hero-visual-cloud {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cloud-animation {
    position: absolute;
    width: 400px;
    height: 300px;
}

.cloud-icon {
    position: absolute;
    font-size: 120px;
    filter: drop-shadow(0 8px 24px rgba(199, 234, 70, 0.3));
    animation: floatCloud 6s ease-in-out infinite;
}

.cloud-icon.cloud-1 {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
    opacity: 0.9;
}

.cloud-icon.cloud-2 {
    top: 120px;
    left: 150px;
    animation-delay: 2s;
    opacity: 0.85;
    font-size: 100px;
}

.cloud-icon.cloud-3 {
    top: 200px;
    left: 20px;
    animation-delay: 4s;
    opacity: 0.8;
    font-size: 90px;
}

@keyframes floatCloud {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.security-badge {
    position: absolute;
    bottom: 50px;
    right: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(199, 234, 70, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(199, 234, 70, 0.3);
    border-radius: 20px;
    padding: 20px 30px;
    z-index: 3;
}

.shield-icon {
    font-size: 40px;
}

.badge-text strong {
    display: block;
    font-size: 24px;
    color: #C7EA46;
}

.badge-text span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Cloud Provider Badges */
.cloud-providers {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.provider-badge {
    padding: 10px 24px;
    background: rgba(199, 234, 70, 0.1);
    border: 1px solid rgba(199, 234, 70, 0.3);
    border-radius: 8px;
    color: #C7EA46;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.provider-badge:hover {
    background: rgba(199, 234, 70, 0.2);
    transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.slider-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    width: 40px;
    border-radius: 6px;
    background: linear-gradient(135deg, #C7EA46, #A8D030);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Button Glow Variants */
.btn-glow-ai {
    background: linear-gradient(135deg, #C7EA46, #BFDB38);
    box-shadow: 0 0 30px rgba(199, 234, 70, 0.6);
}

.btn-glow-ai:hover {
    box-shadow: 0 12px 48px rgba(199, 234, 70, 0.7);
    transform: translateY(-3px) scale(1.05);
}

.btn-glow-cloud {
    background: linear-gradient(135deg, #C7EA46, #BFDB38);
    box-shadow: 0 8px 32px rgba(199, 234, 70, 0.4);
}

.btn-glow-cloud:hover {
    box-shadow: 0 12px 48px rgba(199, 234, 70, 0.7);
    transform: translateY(-3px) scale(1.05);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-slide {
        height: auto;
        min-height: 100vh;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-visual, .hero-visual-ai, .hero-visual-cloud {
        margin-top: 40px;
    }
    
    .ai-features, .cloud-providers {
        justify-content: center;
    }
    
    .ai-stats {
        flex-direction: column;
    }
    
    .security-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 36px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
    }
    
    .slider-controls {
        bottom: 20px;
        gap: 20px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
    }
    
    .ai-circle {
        width: 200px;
        height: 200px;
    }
    
    .cloud-animation {
        width: 300px;
        height: 200px;
    }
}
