@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* ========================================== */
/* FROSTED GLASS (Verre dépoli subtil)        */
/* ZÉRO OMBRE, UNIFORME ET LÉGER              */
/* ========================================== */

/* Panneau Standard */
.glass-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    transition: all 0.5s ease;
}
.dark .glass-panel {
    background: rgba(15, 23, 42, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.02);
    border-right-color: rgba(255, 255, 255, 0.02);
}

/* Cartes Interactives */
.glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.2) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.5s ease;
}
.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
}
.dark .glass-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.4) 100%);
    border-color: rgba(255, 255, 255, 0.1);
}
.dark .glass-card:hover {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-color: rgba(37, 99, 235, 0.4);
}

/* Boutons Secondaires */
.glass-btn {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 1);
    transition: all 0.3s ease;
}
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: #2563eb;
    color: #2563eb;
}
.dark .glass-btn {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}
.dark .glass-btn:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: #3b82f6;
    color: #93c5fd;
}

/* Boutons Primaires */
.glass-btn-primary {
    background: linear-gradient(to right, #2563eb, #0891b2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: opacity 0.3s ease;
}
.glass-btn-primary:hover {
    opacity: 0.9;
}

/* Formes 3D Flottantes */
.glass-shape {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom-color: rgba(255, 255, 255, 0.2);
    border-right-color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    transition: all 0.5s ease;
}
.dark .glass-shape {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    border-bottom-color: rgba(255, 255, 255, 0.02);
    border-right-color: rgba(255, 255, 255, 0.02);
}
.animate-float-complex {
    animation: floatComplex 18s ease-in-out infinite;
}
.delay-4000 { animation-delay: 4s; }
.delay-8000 { animation-delay: 8s; }

/* ========================================== */
/* TEXTES ET AURAS                            */
/* ========================================== */
.text-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 50%, #0891b2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.5s ease;
}
.dark .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
    transition: background-color 1s ease;
}

/* ========================================== */
/* SCROLL REVEAL (Animation douce)            */
/* ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ========================================== */
/* FORMES FLOTTANTES — ROTATIONS & DELAYS     */
/* ========================================== */
.shape-rotate-n8  { transform: rotate(-8deg); }
.shape-rotate-12  { transform: rotate(12deg); }
.shape-rotate-15  { transform: rotate(15deg); }
.shape-rotate-n15 { transform: rotate(-15deg); }
.shape-rotate-45  { transform: rotate(45deg); }
.shape-rotate-n3  { transform: rotate(-3deg); }

.shape-delay-1500 { animation-delay: 1.5s; }
.shape-delay-2500 { animation-delay: 2.5s; }
.shape-delay-3500 { animation-delay: 3.5s; }
.shape-delay-5500 { animation-delay: 5.5s; }
.shape-delay-7000 { animation-delay: 7s; }
