/* Landing Page CSS */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-color: #764ba2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --off-white: #f7fafc;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    margin: 0 0.5rem;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.btn-primary-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118, 75, 162, 0.3);
    color: white;
}

.btn-outline-custom {
    border: 2px solid #e2e8f0;
    color: var(--text-dark);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-outline-custom:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0 5rem;
    background: var(--off-white);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s;
    border: 1px solid #e2e8f0;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Carousel styling */
#dashboardCarousel {
    border-radius: 20px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg);
    /* Ombre renforcée multi-couches pour effet de profondeur marqué */
    box-shadow:
        20px 20px 40px rgba(0, 0, 0, 0.25),
        /* Ombre principale renforcée */
        30px 30px 60px rgba(0, 0, 0, 0.15),
        /* Ombre diffuse étendue */
        8px 8px 20px rgba(0, 0, 0, 0.12);
    /* Ombre de proximité visible */
}

.carousel-indicators {
    margin-bottom: 1rem;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
}

.carousel-indicators button.active {
    background-color: rgba(118, 75, 162, 0.9);
}

@keyframes float {
    0% {
        transform: translateY(0px) perspective(1000px) rotateY(-5deg);
    }

    50% {
        transform: translateY(-20px) perspective(1000px) rotateY(-5deg);
    }

    100% {
        transform: translateY(0px) perspective(1000px) rotateY(-5deg);
    }
}

/* Features */
.features-section {
    padding: 6rem 0;
}

.feature-card {
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: rgba(118, 75, 162, 0.1);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--primary-gradient);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.btn-light-custom {
    background: white;
    color: var(--secondary-color);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    border: none;
    transition: all 0.2s;
}

.btn-light-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: #1a202c;
    color: #cbd5e0;
}

footer h5 {
    color: white;
    margin-bottom: 1.5rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.8rem;
}

footer a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 6rem 0 3rem;
        text-align: center;
    }

    .hero-image {
        transform: none;
        margin-top: 3rem;
    }

    @keyframes float {
        0% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(-10px);
        }

        100% {
            transform: translateY(0px);
        }
    }
}