/* Animation des sections & éléments additionnels pour la page d'accueil modernisée */
@keyframes rotate3D {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    50% { transform: rotateY(180deg) rotateX(10deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

@keyframes pulse {
    0% { 
        opacity: 0.4; 
        transform: scale(0.95);
        box-shadow: 0 0 5px rgba(0, 201, 255, 0.4);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 12px rgba(146, 254, 157, 0.5);
    }
    100% { 
        opacity: 0.8; 
        transform: scale(1.05);
        box-shadow: 0 0 18px rgba(0, 201, 255, 0.6);
    }
}

@keyframes glow {
    0% { 
        box-shadow: 0 0 5px rgba(0, 201, 255, 0.5);
        transform: scale(0.95);
    }
    100% { 
        box-shadow: 0 0 20px rgba(0, 201, 255, 0.8), 0 0 10px rgba(146, 254, 157, 0.4);
        transform: scale(1.05);
    }
}

@keyframes flowConnection {
    0% { 
        background-position: 0% 50%;
        box-shadow: 0 0 8px rgba(0, 201, 255, 0.6);
    }
    50% { 
        background-position: 50% 50%;
        box-shadow: 0 0 12px rgba(146, 254, 157, 0.6);
    }
    100% { 
        background-position: 100% 50%;
        box-shadow: 0 0 8px rgba(0, 201, 255, 0.6);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__delay-1s {
    animation-delay: 0.2s;
}

.animate__delay-2s {
    animation-delay: 0.4s;
}

.animate__delay-3s {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to { 
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Styles pour les nouvelles cartes de fonctionnalités et modèles AI */
.bg-techsolut-gradient {
    background: var(--techsolut-gradient);
}

.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-4 {
    border-radius: 1rem !important;
}

.model-icon-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styles pour l'interface héro modernisée */
.gradient-text {
    background: linear-gradient(to right, var(--techsolut-gradient-start), var(--techsolut-gradient-end));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--techsolut-gradient-start), var(--techsolut-gradient-end));
    border-radius: 2px;
}

.title-separator.light {
    background: linear-gradient(to right, var(--techsolut-gradient-start), var(--techsolut-gradient-end));
    opacity: 0.8;
}

.hero-glow {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 201, 255, 0.3), transparent 70%);
    filter: blur(20px);
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

.hero-tech-details {
    bottom: 20px;
    left: 20px;
    z-index: 2;
}

/* Enhanced Feature Cards */
.feature-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon-container {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AI Model Cards */
.ai-model-card {
    transition: all 0.3s ease;
}

.ai-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

/* Particle Effects */
.tech-particles, .cta-particles {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(146, 254, 157, 0.15) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(0, 201, 255, 0.15) 0%, transparent 20%);
}

/* Demo Video Container */
.demo-video-container {
    position: relative;
    transition: transform 0.3s ease;
}

.demo-video-container:hover {
    transform: translateY(-10px);
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-video-container:hover .play-button-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.play-button i {
    font-size: 30px;
    color: var(--techsolut-dark);
}

.demo-video-container:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* Platform Features Styling */
.feature-check {
    font-size: 20px;
    color: var(--techsolut-light);
}

.feature-item {
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateX(5px);
}

/* Gradient Background */
.bg-techsolut-gradient {
    background: linear-gradient(135deg, var(--techsolut-gradient-start), var(--techsolut-gradient-end));
}

/* Floating particles with Techsolut colors */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    animation: float 12s infinite ease-in-out;
    z-index: 0;
}

.p1 {
    width: 20px;
    height: 20px;
    background: rgba(0, 201, 255, 0.6);
    left: 10%;
    top: 15%;
    animation-delay: 0s;
}

.p2 {
    width: 30px;
    height: 30px;
    background: rgba(146, 254, 157, 0.5);
    left: 25%;
    top: 70%;
    animation-delay: 1s;
}

.p3 {
    width: 15px;
    height: 15px;
    background: rgba(0, 201, 255, 0.7);
    left: 60%;
    top: 25%;
    animation-delay: 2s;
}

.p4 {
    width: 25px;
    height: 25px;
    background: rgba(146, 254, 157, 0.6);
    left: 80%;
    top: 65%;
    animation-delay: 3s;
}

.p5 {
    width: 18px;
    height: 18px;
    background: rgba(0, 201, 255, 0.5);
    left: 45%;
    top: 50%;
    animation-delay: 4s;
}

.p6 {
    width: 12px;
    height: 12px;
    background: rgba(146, 254, 157, 0.7);
    left: 90%;
    top: 15%;
    animation-delay: 5s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0);
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(0, 201, 255, 0.4);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg);
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(146, 254, 157, 0.5);
    }
    50% {
        transform: translateY(-60px) translateX(-10px) rotate(180deg);
        opacity: 0.8;
        box-shadow: 0 0 25px rgba(0, 201, 255, 0.6);
    }
    75% {
        transform: translateY(-30px) translateX(-30px) rotate(270deg);
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(146, 254, 157, 0.5);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg);
        opacity: 0.8;
        box-shadow: 0 0 15px rgba(0, 201, 255, 0.4);
    }
}