/* Design moderne et épuré pour NEXA */

/* Variables de couleurs et styles */
:root {
    /* Palette de couleurs */
    --color-bg-primary: #0a0a14;
    --color-bg-secondary: #12121f;
    --color-bg-card: #16161e;
    
    /* Dégradés */
    --gradient-primary: linear-gradient(135deg, #00c2ff, #6a11cb);
    --gradient-secondary: linear-gradient(135deg, #6a11cb, #d000ff);
    --gradient-accent: linear-gradient(135deg, #00c2ff, #d000ff);
    
    /* Couleurs d'accent */
    --color-accent-blue: #00c2ff;
    --color-accent-purple: #d000ff;
    --color-accent-pink: #ff3e8a;
    
    /* Texte */
    --color-text-primary: rgba(255, 255, 255, 0.95);
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    
    /* Ombres */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.25);
    
    /* Rayons de bordure */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
}

/* Typographie améliorée */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Effet de texte dégradé */
.glow-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

/* Boutons modernisés */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* Cartes modernisées */
.card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

/* Barre de navigation modernisée */
.navbar {
    background-color: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar .logo-text {
    font-weight: 800;
    letter-spacing: -0.03em;
}

/* Animations subtiles */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Amélioration des formulaires */
input, textarea, select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--color-text-primary);
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

/* Améliorations pour la page de licence */
.licence-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.licence-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
}

.licence-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

.licence-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.licence-input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-md);
    color: var(--color-text-primary);
    font-size: 1.1rem;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.licence-input:focus {
    border-color: var(--color-accent-blue);
    box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.2);
}

.licence-btn {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.licence-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.licence-note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: 15px;
}

.licence-link {
    color: var(--color-accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.licence-link:hover {
    color: var(--color-accent-purple);
    text-decoration: underline;
}

/* Effet de glassmorphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

/* Amélioration des transitions */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Amélioration des espacements */
.section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .licence-card {
        padding: 30px 20px;
    }
}

/* Ajustement pour la barre de navigation fixe */
body {
    padding-top: 70px;
}

/* Message de succès */
.success-message {
    display: none;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00c2ff, #4CAF50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2.5rem;
}

.success-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}
