/* 
    Created on : Mar 13, 2026, 3:45:09 AM
    Author     : djoluc
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

@keyframes htx-dark-modeGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

htx-page-content{
    background: transparent !important;
}

#bg-canvas {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none;
}

.logo_intro{
    /* Couleurs : Bleu nuit, Violet profond, Anthracite, Noir */
    background: linear-gradient(-45deg, #0f0c29, #302b63, #222222, #000000);
    
    /* Agrandir l'arrière-plan pour permettre le mouvement */
    background-size: 400% 400%;
    
    /* Application de l'animation : 15s pour un effet lent et immersif */
    animation: htx-dark-modeGradient 15s ease infinite;
}

.hero-text-gradient {
    background: linear-gradient(to bottom right, #dedede 40%, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.15), transparent 70%);
    z-index: -1;
}

:root {
    --primary: #3b82f6;
    --accent: #8b5cf6;
    --bg-htx-dark-mode: #0f172a;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-htx-dark-mode);
    color: #f8fafc;
    overflow-x: hidden;
}

.glass {
    background: rgba(50, 61, 79, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

html[htx-dark-mode] .glass{
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-gradient-text {
    background: linear-gradient(135deg, #000000, #222222, #0072b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

html[htx-dark-mode] .ai-gradient-text{
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.15), transparent 70%);
    z-index: -1;
}

html[htx-dark-mode] .hero-mesh{
    background-image: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.15), transparent 70%);
}

/* Profile Dropdown Animation */
#profileDropdown {
    transform-origin: top right;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0 !important;
    transform: scale(0.95) translateY(-10px);
    pointer-events: none;
}

#profileDropdown.active {
    opacity: 1 !important;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.profile-ring {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 3px;
}

.nav-active {
    color: white;
    border-bottom: 2px solid var(--primary);
}

.badge-secure {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}


.float-animation {
    animation: float 6s ease-in-out infinite;
}

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

.stagger-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.stagger-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.profile-ring {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    padding: 3px;
}

.nav-active {
    color: white;
    border-bottom: 2px solid var(--primary);
}

.badge-secure {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-input {
    background: #1a2333;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.toggle-checkbox:checked {
    right: 0;
    border-color: #3b82f6;
}
.toggle-checkbox:checked + .toggle-label {
    background-color: #3b82f6;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }