/* Variables de couleur */
:root {
    --primary-color: #050a14;
    --secondary-color: #0d1526;
    --accent-color: #1e90ff;
    --accent-dark: #0066cc;
    --text-color: #ffffff;
    --text-secondary: #8a8f98;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --gradient-primary: linear-gradient(135deg, #0d1526 0%, #050a14 100%);
    --blur-amount: 5px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: var(--gradient-primary);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background: url('https://i.postimg.cc/L5bbFRm2/wer.png') center/cover no-repeat;
    opacity: 0.15;
    filter: blur(4px);
    transform: skewX(-10deg) translateX(10%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin-left: 15%;
    transform: translateX(-15%);
}

.blur-text {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-color);
    text-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
    animation: blurAnimation 5s infinite;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

@keyframes blurAnimation {
    0% {
        filter: blur(0);
        opacity: 1;
    }
    50% {
        filter: blur(var(--blur-amount));
        opacity: 0.8;
    }
    100% {
        filter: blur(0);
        opacity: 1;
    }
}

.subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin: 30px 0;
    font-weight: 300;
    max-width: 600px;
    line-height: 1.4;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Le reste du CSS reste inchangé */
/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--secondary-color);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Navigation Styles */
.sidenav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    background: rgba(26, 35, 50, 0.95);
    backdrop-filter: blur(15px);
    width: 280px;
    transform: translateX(-230px);
    transition: var(--transition-smooth);
    z-index: 1000;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.sidenav:hover,
.sidenav.active {
    transform: translateX(0);
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
}

.nav-toggle {
    position: absolute;
    right: -50px;
    top: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(52, 152, 219, 0.1);
    border-radius: 0 10px 10px 0;
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: scale(1.1);
}

.nav-content {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.nav-header {
    margin-bottom: 50px;
    text-align: center;
}

.logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.3);
    transition: var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 40px rgba(52, 152, 219, 0.5);
}

.nav-links {
    list-style: none;
    margin-top: 20px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 15px 20px;
    margin: 10px 0;
    border-radius: 12px;
    transition: var(--transition-smooth);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 0.1;
}

.nav-link:hover {
    transform: translateX(5px);
    background: rgba(52, 152, 219, 0.1);
}

.nav-link i {
    margin-right: 12px;
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.nav-link:hover i {
    transform: scale(1.2);
}

/* Main Content */
main {
    margin-left: 50px;
    min-height: 100vh;
}

.section {
    min-height: 100vh;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    padding: 80px 20px;
}

.section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.btn.primary {
    background: var(--accent-color);
    color: white;
}

.btn.secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.glow-effect {
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 5px var(--accent-color); }
    50% { box-shadow: 0 0 20px var(--accent-color); }
    100% { box-shadow: 0 0 5px var(--accent-color); }
}

/* Shop Section */
.shop-header {
    text-align: center;
    margin-bottom: 50px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    background: var(--secondary-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    background: var(--secondary-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.3);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.product-info .description {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.product-info .price {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Status Section */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 30px 0;
}

.status-item {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.status-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status.online {
    color: var(--success-color);
}

.status.offline {
    color: var(--error-color);
}

/* Chat Container */
.chat-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--secondary-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.chat-messages {
    height: 500px;
    padding: 30px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.message {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: messageAppear 0.5s forwards;
}

.message-content {
    max-width: 80%;
    padding: 15px 20px;
    border-radius: 15px;
    background: rgba(52, 152, 219, 0.1);
    position: relative;
}

.message.user .message-content {
    margin-left: auto;
    background: var(--accent-color);
}

.chat-input {
    display: flex;
    padding: 25px;
    background: rgba(26, 35, 50, 0.98);
    gap: 15px;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: var(--primary-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.chat-input input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.send-btn {
    background: var(--accent-color);
    border: none;
    border-radius: 12px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: var(--transition-smooth);
}

.send-btn:hover {
    transform: scale(1.1);
    background: var(--accent-dark);
}

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.notification {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    animation: slideIn 0.3s ease forwards;
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--error-color);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

/* Reveal Animation */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidenav {
        transform: translateX(-280px);
    }
    
    main {
        margin-left: 0;
    }
    
    .blur-text {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }

    .hero-background {
        width: 100%;
        transform: none;
    }

    .hero-content {
        margin-left: 20px;
        transform: none;
    }
}

@media (max-width: 480px) {
    .blur-text {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
}

.kana {
    color: #1E3A8A; /* Bleu foncé */
}

.project {
    color: #FFFFFF; /* Blanc */
}

.blur-text {
    filter: blur(5px);
    transition: filter 0.3s ease;
}

.blur-text:hover {
    filter: blur(0);
}

