:root {
    --bg-color: #000000;
    --primary-color: #00A9FF;
    --text-color: #E0E0E0;
    --border-color: rgba(255, 255, 255, 0.15);
    --card-bg: rgba(255, 255, 255, 0.03);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* --- Animated Futuristic Background --- */
#animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 82, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 217, 192, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, #000000 0%, #0a0a1a 50%, #000000 100%);
}

#canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- Navigation --- */
nav {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00A9FF, #0066FF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    font-size: 18px;
}

.nav-link {
    color: var(--text-color);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

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

/* --- Hero Section --- */
.hero-section {
    position: relative;
    z-index: 10;
}

.gradient-text {
    background: linear-gradient(135deg, #00A9FF, #00F2C3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

/* --- Buttons --- */
.btn-primary {
    background: linear-gradient(135deg, #00A9FF, #0066FF);
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 169, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(0, 169, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 169, 255, 0.3);
}

/* --- Feature Pills --- */
.feature-pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(0, 169, 255, 0.3);
    background: rgba(0, 169, 255, 0.05);
    color: var(--primary-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-pill:hover {
    border-color: var(--primary-color);
    background: rgba(0, 169, 255, 0.15);
    transform: translateY(-2px);
}

/* --- Problem & Solution Cards --- */
.problem-card {
    background: rgba(255, 100, 100, 0.08);
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.problem-card:hover {
    border-color: rgba(255, 100, 100, 0.6);
    transform: translateY(-10px);
}

.solution-card {
    background: rgba(0, 169, 255, 0.08);
    border: 1px solid rgba(0, 169, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 169, 255, 0.2);
}

/* --- Feature Cards --- */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* --- FAQ Section --- */
.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-toggle {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: transparent;
    border: none;
    color: var(--text-color);
    text-align: left;
    transition: all 0.3s ease;
}

.faq-toggle:hover {
    color: var(--primary-color);
}

.faq-toggle i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content div {
    padding: 0 1.5rem 1.5rem;
    color: #b0b0b0;
    line-height: 1.6;
    border-top: 1px solid var(--border-color);
}

/* --- Qui sommes-nous Section --- */
.qui-sommes-nous-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    position: relative;
    transition: all 0.3s ease;
}

.qui-sommes-nous-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px rgba(0, 169, 255, 0.15);
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.5;
}

.quote-content {
    padding-left: 1rem;
}

.quote-content p {
    font-style: italic;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.quote-content p:last-child {
    margin-bottom: 0;
}

.quote-author {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.quote-author span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-style: italic;
}

/* --- Contact Modal --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

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

/* --- Contact Form --- */
#contact-form input,
#contact-form textarea {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(224, 224, 224, 0.5);
}

#contact-form input:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 169, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 169, 255, 0.2);
}

/* --- Consent Checkbox Style Kozalia --- */
.consent-container-kozalia {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
}

.consent-label-kozalia {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 1rem;
}

.consent-label-kozalia input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark-kozalia {
    width: 22px;
    height: 22px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.consent-label-kozalia:hover .checkmark-kozalia {
    border-color: #fff;
}

.consent-label-kozalia input[type="checkbox"]:checked ~ .checkmark-kozalia {
    background-color: transparent;
    border-color: #fff;
}

.checkmark-kozalia::after {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: none;
}

.consent-label-kozalia input[type="checkbox"]:checked ~ .checkmark-kozalia::after {
    display: block;
}

.consent-text-main {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
}

.consent-text-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* --- Success Modal Style Kozalia --- */
.success-modal-content-kozalia {
    position: relative;
    background: rgba(30, 40, 45, 0.95);
    border: 2px solid rgba(74, 222, 128, 0.5);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.success-icon-kozalia {
    width: 60px;
    height: 60px;
    background-color: #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-icon-kozalia i {
    font-size: 1.8rem;
    color: #1a1a2e;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-title-kozalia {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.success-message-kozalia {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 120px;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    .feature-pill {
        font-size: 0.875rem;
        padding: 6px 12px;
    }

    .modal-content {
        padding: 2rem;
    }
    
    .success-modal-content-kozalia {
        padding: 2rem 1.5rem;
    }
    
    .success-title-kozalia {
        font-size: 1.25rem;
    }
    
    .success-icon-kozalia {
        width: 50px;
        height: 50px;
    }
    
    .success-icon-kozalia i {
        font-size: 1.5rem;
    }
    
    .qui-sommes-nous-card {
        padding: 2rem 1.5rem;
    }
    
    .quote-icon {
        position: static;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .quote-content {
        padding-left: 0;
    }
    
    .quote-content p {
        font-size: 1rem;
    }
}

/* --- Animations --- */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00A9FF, #0066FF);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    opacity: 0.8;
}
