.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    transition: transform 0.2s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

/* Styles pour le bouton free trial dans le header */
.free-trial-btn {
    background: linear-gradient(90deg, #6366f1 0%, #2563eb 100%);
    color: #fff;
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.free-trial-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #6366f1, #2563eb, #8b5cf6, #6366f1);
    background-size: 300% 300%;
    animation: gradientShift 3s ease infinite;
    border-radius: 10px;
    z-index: -1;
}

.free-trial-btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: linear-gradient(90deg, #6366f1 0%, #2563eb 100%);
    border-radius: 6px;
    z-index: -1;
}

.free-trial-btn:hover {
    transform: translateY(-2px);
}

.free-trial-btn:hover::after {
    background: linear-gradient(90deg, #2563eb 0%, #6366f1 100%);
}

.free-trial-btn:active {
    transform: translateY(0);
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
