/* Custom Styles for Antifraude Online */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 0);
    background-size: 40px 40px;
    color: #fff;
}

/* Navigation Styles */
nav {
    backdrop-filter: blur(10px);
}

nav a:hover {
    color: #fff;
}

/* Hero Section */
section:first-of-type {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
}

/* Smooth Transitions */
button {
    transition: all 0.3s ease;
}

a {
    transition: color 0.3s ease;
}

/* FAQ Accordion */
.faq-toggle {
    cursor: pointer;
    user-select: none;
}

.faq-toggle:hover span {
    color: #3b82f6;
}

.faq-content {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
    }
    to {
        opacity: 1;
        max-height: 500px;
        overflow: visible;
    }
}

/* Chat Modal Animation */
#chat-modal {
    animation: slideUp 0.3s ease-out;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
    body {
        background-size: 30px 30px;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Focus States */
button:focus,
input:focus {
    outline: none;
}

/* Link Styles */
a {
    color: inherit;
    text-decoration: none;
}

a:visited {
    color: inherit;
}

/* Button Hover Effects */
button:active {
    transform: scale(0.98);
}

/* Card Hover Effects */
.border-gray-800 {
    transition: all 0.3s ease;
}

.border-gray-800:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

/* Smooth Page Load */
body {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Menu Animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

/* Text Selection */
::selection {
    background-color: #3b82f6;
    color: #fff;
}

::-moz-selection {
    background-color: #3b82f6;
    color: #fff;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    nav,
    #chat-btn,
    #chat-modal {
        display: none;
    }
}
