/*
 * =========================================================
 * EASYK L'UNIK - SITE OFFICIEL
 * Design Professionnel Premium
 * =========================================================
 */

/* === VARIABLES === */
:root {
    --yellow: #FFE135;
    --yellow-hover: #f5d729;
    --blue: #4A90D9;
    --dark: #1a1a2e;
    --darker: #16213e;
    --darkest: #0f0f23;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --green-500: #22c55e;
    --purple-500: #a855f7;
    --pink-500: #ec4899;
    --gradient: linear-gradient(135deg, var(--yellow) 0%, var(--blue) 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.2);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.25);
    --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.35);
    --shadow-yellow: 0 10px 40px -10px rgba(255, 225, 53, 0.4);
    --shadow-blue: 0 10px 40px -10px rgba(74, 144, 217, 0.4);
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 3vw, 2rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.5rem); }

p { margin-bottom: 1rem; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.leading-tight { line-height: 1.25; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

/* === COLORS === */
.text-white { color: var(--white); }
.text-black { color: #000; }
.text-yellow, .text-easyk-yellow { color: var(--yellow); }
.text-blue, .text-easyk-blue { color: var(--blue); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }

.bg-white { background-color: var(--white); }
.bg-black { background-color: #000; }
.bg-yellow, .bg-easyk-yellow { background-color: var(--yellow); }
.bg-blue, .bg-easyk-blue { background-color: var(--blue); }
.bg-dark, .bg-easyk-dark { background-color: var(--dark); }
.bg-darker, .bg-easyk-darker { background-color: var(--darker); }
.bg-red-500 { background-color: var(--red-500); }
.bg-red-600 { background-color: var(--red-600); }
.bg-green-500 { background-color: var(--green-500); }
.bg-purple-500 { background-color: var(--purple-500); }

.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-yellow { border-color: var(--yellow); }
.border-easyk-yellow { border-color: var(--yellow); }
.border-easyk-yellow\/50 { border-color: rgba(255, 225, 53, 0.5); }

/* === GRADIENT TEXT === */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* === BACKGROUNDS === */
.hero-gradient {
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, var(--darkest) 100%);
    position: relative;
}

.bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--dark), var(--darker));
}

.bg-gradient-to-r {
    background: linear-gradient(to right, var(--yellow), #facc15);
}

/* === LAYOUT === */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

/* === FLEXBOX === */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-around { justify-content: space-around; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* === GRID === */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* === SPACING === */
.p-0 { padding: 0; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pb-20 { padding-bottom: 5rem; }

.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }

.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-x-8 > * + * { margin-left: 2rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* === SIZING === */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-screen { height: 100vh; }

.min-h-screen { min-height: 100vh; }

/* === POSITIONING === */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.top-4 { top: 1rem; }
.top-16 { top: 4rem; }
.top-20 { top: 5rem; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.bottom-8 { bottom: 2rem; }
.bottom-20 { bottom: 5rem; }
.left-0 { left: 0; }
.left-2 { left: 0.5rem; }
.left-10 { left: 2.5rem; }
.left-1\/2 { left: 50%; }

.-top-4 { top: -1rem; }
.-right-4 { right: -1rem; }
.-bottom-4 { bottom: -1rem; }
.-left-4 { left: -1rem; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.z-\[9999\] { z-index: 9999; }

/* === BORDERS === */
.border { border: 1px solid; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }

.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* === BORDERS === */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-4 { border-width: 4px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-l { border-left-width: 1px; border-style: solid; }
.border-r { border-right-width: 1px; border-style: solid; }

.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-yellow { border-color: var(--yellow); }
.border-yellow\/30 { border-color: rgba(255, 225, 53, 0.3); }
.border-yellow\/50 { border-color: rgba(255, 225, 53, 0.5); }
.border-blue { border-color: var(--blue); }
.border-transparent { border-color: transparent; }

/* Border glow effects */
.border-glow {
    border: 1px solid rgba(255, 225, 53, 0.2);
    box-shadow: 
        0 0 20px rgba(255, 225, 53, 0.1),
        inset 0 0 20px rgba(255, 225, 53, 0.05);
}

.border-glow-blue {
    border: 1px solid rgba(74, 144, 217, 0.2);
    box-shadow: 
        0 0 20px rgba(74, 144, 217, 0.1),
        inset 0 0 20px rgba(74, 144, 217, 0.05);
}

.border-glow:hover {
    border-color: rgba(255, 225, 53, 0.4);
    box-shadow: 
        0 0 30px rgba(255, 225, 53, 0.2),
        inset 0 0 30px rgba(255, 225, 53, 0.1);
}

/* Section dividers */
.section-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
}

/* === SHADOWS === */
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-xl); }

/* === EFFECTS === */
.opacity-0 { opacity: 0; }
.opacity-10 { opacity: 0.1; }
.opacity-20 { opacity: 0.2; }
.opacity-50 { opacity: 0.5; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* === TRANSFORMS === */
.transform { transform: translateZ(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-x-full { transform: translateX(100%); }
.translate-x-0 { transform: translateX(0); }
.scale-75 { transform: scale(0.75); }
.scale-110 { transform: scale(1.1); }

/* === TRANSITIONS === */
.transition { transition: all 0.3s ease; }
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s, background-color 0.3s, border-color 0.3s; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }

.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }

.ease-in-out { transition-timing-function: ease-in-out; }

/* === VISIBILITY === */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }

/* === FILTERS === */
.filter { filter: var(--tw-filter); }
.blur-3xl { filter: blur(64px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.backdrop-blur-lg { backdrop-filter: blur(16px); }

/* === ANIMATIONS === */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-spin { animation: spin 1s linear infinite; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* === LOADER === */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 225, 53, 0.2);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === NAVIGATION === */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* === CARDS === */
.card {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.4s ease;
}

.card:hover,
.card-hover:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 225, 53, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 225, 53, 0.1);
}

/* === BUTTONS === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--yellow);
    color: var(--dark);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--yellow-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-yellow);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--blue);
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--blue);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-blue);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: white;
    padding: 0.875rem 2rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--yellow);
    color: var(--yellow);
    transform: translateY(-2px);
}

/* === SOCIAL BUTTON === */
.social-btn {
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* === MOBILE MENU === */
.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-link.active {
    background: var(--yellow);
    color: var(--dark);
}

/* === SCROLL ANIMATIONS === */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* === MISC === */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aspect-\[9\/16\] {
    aspect-ratio: 9 / 16;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker);
}

::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--yellow-hover);
}

/* === SELECTION === */
::selection {
    background: rgba(255, 225, 53, 0.3);
    color: white;
}

/* === RESPONSIVE === */
@media (min-width: 640px) {
    .sm\:block { display: block; }
    .sm\:hidden { display: none; }
    .sm\:flex { display: flex; }
    .sm\:flex-row { flex-direction: row; }
    .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .md\:block { display: block; }
    .md\:hidden { display: none; }
    .md\:flex { display: flex; }
    .md\:items-center { align-items: center; }
    .md\:h-20 { height: 5rem; }
    .md\:pt-20 { padding-top: 5rem; }
    .md\:w-80 { width: 20rem; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-6xl { font-size: 3.75rem; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:flex-row { flex-direction: row; }
    .md\:text-left { text-align: left; }
    .md\:h-12 { height: 3rem; }
}

@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:hidden { display: none; }
    .lg\:flex { display: flex; }
    .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .lg\:text-left { text-align: left; }
    .lg\:justify-start { justify-content: flex-start; }
    .lg\:mx-0 { margin-left: 0; margin-right: 0; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:text-7xl { font-size: 4.5rem; }
    .lg\:w-96 { width: 24rem; }
}

/* === HOVER STATES === */
.hover\:text-white:hover { color: var(--white); }
.hover\:text-easyk-yellow:hover { color: var(--yellow); }
.hover\:text-gray-400:hover { color: var(--gray-400); }
.hover\:bg-white\/10:hover { background-color: rgba(255, 255, 255, 0.1); }
.hover\:bg-yellow-400:hover { background-color: #facc15; }
.hover\:bg-easyk-yellow:hover { background-color: var(--yellow); }
.hover\:bg-easyk-blue:hover { background-color: var(--blue); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:underline:hover { text-decoration: underline; }
.hover\:shadow-easyk-yellow\/30:hover { box-shadow: 0 10px 40px rgba(255, 225, 53, 0.3); }

/* === GROUP HOVER === */
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* === ACTIVE STATES === */
.active\:scale-95:active { transform: scale(0.95); }

/* === SAFE AREA === */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .safe-area-inset-bottom {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* === PRINT === */
@media print {
    .loader, nav, footer { display: none !important; }
    body { background: white; color: black; }
}

/* =========================================================
 * FORMULAIRES PROFESSIONNELS
 * ========================================================= */

/* Form Container */
.form-container {
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.95));
    border: 1px solid rgba(255, 225, 53, 0.15);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Form Group */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

/* Form Label */
.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-200);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.form-label .required {
    color: var(--yellow);
    margin-left: 0.25rem;
}

/* Form Input Base */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(22, 33, 62, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-500);
    opacity: 1;
}

/* Focus States */
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--yellow);
    box-shadow: 
        0 0 0 4px rgba(255, 225, 53, 0.15),
        0 0 20px rgba(255, 225, 53, 0.1);
    background: rgba(22, 33, 62, 1);
}

/* Hover States */
.form-input:hover:not(:focus),
.form-textarea:hover:not(:focus),
.form-select:hover:not(:focus) {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(22, 33, 62, 0.9);
}

/* Error States */
.form-input.error,
.form-textarea.error,
.form-select.error {
    border-color: var(--red-500);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15);
}

/* Success States */
.form-input.success,
.form-textarea.success {
    border-color: var(--green-500);
}

/* Form Textarea */
.form-textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

/* Form Select */
.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23FFE135'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    padding-right: 3rem;
    cursor: pointer;
}

.form-select option {
    background: var(--darker);
    color: white;
    padding: 0.75rem;
}

/* Form Checkbox */
.form-checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox {
    appearance: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.375rem;
    background: rgba(22, 33, 62, 0.8);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.form-checkbox:checked {
    background: var(--yellow);
    border-color: var(--yellow);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a1a2e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: 1rem;
    background-position: center;
    background-repeat: no-repeat;
}

.form-checkbox:focus {
    box-shadow: 0 0 0 4px rgba(255, 225, 53, 0.2);
}

.form-checkbox-label {
    font-size: 0.9rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* Submit Button */
.form-submit {
    width: 100%;
    padding: 1.125rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--yellow), #facc15);
    color: var(--dark);
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(255, 225, 53, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 225, 53, 0.4);
    background: linear-gradient(135deg, #facc15, var(--yellow));
}

.form-submit:active {
    transform: translateY(0);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-submit i {
    font-size: 1.1rem;
}

/* Form Helper Text */
.form-helper {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.form-helper.error {
    color: var(--red-500);
}

/* Form Icon */
.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    transition: color 0.3s ease;
    pointer-events: none;
}

.form-group.has-icon .form-input {
    padding-left: 3rem;
}

.form-group.has-icon .form-input:focus ~ .form-icon,
.form-group.has-icon .form-input:not(:placeholder-shown) ~ .form-icon {
    color: var(--yellow);
}

/* Alert Messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.alert-error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.alert-warning {
    background: rgba(255, 225, 53, 0.15);
    border: 1px solid rgba(255, 225, 53, 0.3);
    color: var(--yellow);
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* CAPTCHA Box */
.captcha-box {
    background: rgba(22, 33, 62, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.captcha-question {
    background: linear-gradient(135deg, var(--dark), var(--darker));
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--yellow);
    border: 1px solid rgba(255, 225, 53, 0.2);
    min-width: 120px;
    text-align: center;
}

.captcha-refresh {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.captcha-refresh:hover {
    background: rgba(255, 225, 53, 0.1);
    color: var(--yellow);
    border-color: rgba(255, 225, 53, 0.3);
}

/* =========================================================
 * MENU MOBILE APP STYLE
 * ========================================================= */

/* Mobile Bottom Nav */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 33, 62, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
}

@media (max-width: 1023px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 5rem;
    }
}

.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.5rem 0.25rem;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gray-400);
    font-size: 0.65rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    transition: all 0.2s ease;
    min-width: 4rem;
}

.mobile-nav-item i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.mobile-nav-item span {
    white-space: nowrap;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--yellow);
}

.mobile-nav-item.active {
    background: rgba(255, 225, 53, 0.1);
}

.mobile-nav-item.active i {
    transform: scale(1.1);
}

/* Mobile Nav Center Button (Collab) */
.mobile-nav-center {
    position: relative;
    margin-top: -1.5rem;
}

.mobile-nav-center-btn {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--yellow), #facc15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(255, 225, 53, 0.4);
    transition: all 0.3s ease;
}

.mobile-nav-center-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 225, 53, 0.5);
}

/* Full Screen Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(22, 33, 62, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 6rem 1.5rem 6rem;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu-links {
    flex: 1;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: rgba(255, 225, 53, 0.1);
    color: var(--yellow);
}

.mobile-menu-link i {
    width: 2rem;
    text-align: center;
    font-size: 1.25rem;
}

.mobile-menu-social {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

.mobile-menu-social-title {
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.mobile-menu-social-links {
    display: flex;
    gap: 1rem;
}

.mobile-social-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.25rem;
    transition: all 0.2s ease;
}

.mobile-social-btn:hover {
    background: var(--yellow);
    color: var(--dark);
    border-color: var(--yellow);
    transform: translateY(-2px);
}

/* Hide old mobile menu on mobile, show bottom nav instead */
@media (max-width: 1023px) {
    #mobile-menu {
        display: none !important;
    }
}

/* =========================================================
 * ADDITIONAL IMPROVEMENTS
 * ========================================================= */

/* Page Content Spacing for Fixed Nav */
.page-content {
    padding-top: 5rem;
}

/* Desktop Only Styles */
@media (min-width: 1024px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    
    body {
        padding-bottom: 0;
    }
}

/* Better Focus Outline */
*:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Loading State for Buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Character Counter */
.char-counter {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: 0.375rem;
}

.char-counter.warning {
    color: var(--yellow);
}

.char-counter.error {
    color: var(--red-500);
}
