/* Import Fonts - LOCAL
* --------------------------
* ACTION REQUISE :
* 1. Téléchargez les polices 'Inter' et 'Outfit' via un service comme https://google-webfonts-helper.herokuapp.com/fonts
* 2. Placez les fichiers .woff et .woff2 dans le dossier /fonts/ que j'ai créé pour vous.
* 3. Décommentez les lignes @font-face ci-dessous si les noms de fichiers correspondent.
* --------------------------
*/

/* Import Fonts - LOCAL
* --------------------------
* ACTION REQUISE :
* 1. Téléchargez les polices 'Inter' et 'Outfit' via un service comme https://google-webfonts-helper.herokuapp.com/fonts
* 2. Placez les fichiers .woff et .woff2 dans le dossier /fonts/ que j'ai créé pour vous.
* 3. Décommentez les lignes @font-face ci-dessous si les noms de fichiers correspondent.
* --------------------------
*/

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/inter-v20-latin-300.woff2') format('woff2'),
         url('fonts/inter-v20-latin-300.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/inter-v20-latin-regular.woff2') format('woff2'),
         url('fonts/inter-v20-latin-regular.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/inter-v20-latin-500.woff2') format('woff2'),
         url('fonts/inter-v20-latin-500.woff') format('woff');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/inter-v20-latin-600.woff2') format('woff2'),
         url('fonts/inter-v20-latin-600.woff') format('woff');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/outfit-v15-latin-300.woff2') format('woff2'),
         url('fonts/outfit-v15-latin-300.woff') format('woff');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/outfit-v15-latin-regular.woff2') format('woff2'),
         url('fonts/outfit-v15-latin-regular.woff') format('woff');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/outfit-v15-latin-600.woff2') format('woff2'),
         url('fonts/outfit-v15-latin-600.woff') format('woff');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/outfit-v15-latin-700.woff2') format('woff2'),
         url('fonts/outfit-v15-latin-700.woff') format('woff');
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/outfit-v15-latin-800.woff2') format('woff2'),
         url('fonts/outfit-v15-latin-800.woff') format('woff');
} 

/* Variables DCLIC - Futuriste */
:root {
    /* Palette Sombre & Néon */
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-glass: rgba(30, 41, 59, 0.7);

    --primary-color: #0ea5e9;
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;

    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --white: #ffffff;

    /* Effets */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --neon-glow: 0 0 15px rgba(14, 165, 233, 0.4);

    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy overrides */
    --shadow: var(--glass-shadow);
    --light-bg: var(--bg-dark);
    --text-color: var(--text-muted);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    line-height: 1.6;
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--bg-card);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: var(--neon-glow);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 18px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

.logo span {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--primary-color);
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    font-size: 15px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.4);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 0 8px var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--text-main);
    margin: 3px 0;
    transition: var(--transition);
}

/* Slider Styles Premium */
.hero-slider {
    display: grid;
    grid-template-columns: 1fr;
    height: 600px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--neon-glow);
    border-radius: var(--border-radius);
    margin-top: 80px;
    border: var(--glass-border);
}

.hero-slide {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Background Images */
.hero-slide.slide-1 {
}

.hero-slide.slide-2 {
}

.hero-slide.slide-3 {
}

/* Glassmorphism Content */
.hero-content {
    position: relative;
    z-index: 2;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 40px 60px;
    border-radius: 24px;
    border: var(--glass-border);
    max-width: 800px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.hero-slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.3);
    color: var(--text-main);
    background: linear-gradient(to right, #fff, #cbd5e1);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 300;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

.hero-content h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Buttons in Slider */
.hero-buttons .btn {
    margin: 0 10px;
    min-width: 180px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.2);
}

/* Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--primary-color);
}

.dot:hover {
    background: var(--text-main);
    border-color: var(--text-main);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-main);
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 15px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

/* Services avec texte long */
.service-detail {
    background: var(--bg-card);
    padding: 35px;
    margin-bottom: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.service-detail:hover::before {
    transform: translateX(100%);
}

.service-detail:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.1);
}

.service-detail h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail p {
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.7;
    color: var(--text-muted);
}

.service-detail p:last-child {
    margin-bottom: 0;
}

/* Section Tarifs Background */
.tarifs {
    background-image: url('images/tarifs-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 80px 0;
}

.tarifs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
}

.tarifs .container {
    position: relative;
    z-index: 2;
}

/* Tableau des tarifs */
.tarifs-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.tarif-table-container {
    overflow-x: auto;
    margin-bottom: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tarif-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
}

.tarif-table th {
    background: rgba(15, 23, 42, 0.9);
    color: var(--primary-color);
    padding: 20px 15px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tarif-table td {
    padding: 18px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    color: var(--text-muted);
}

.tarif-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.category-separator {
    background: rgba(14, 165, 233, 0.1) !important;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.1rem;
}

.tarifs-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin: 20px 0;
    font-size: 0.95rem;
    opacity: 0.8;
}

.tarifs-info {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tarifs-info h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.tarifs-info ul {
    list-style: none;
    padding-left: 0;
}

.tarifs-info li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-muted);
}

.tarifs-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.4);
}

/* Formulaires */
.form-container {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    margin-bottom: 35px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-container:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.form-container h3 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
}

.form-feedback {
    margin-top: 15px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    display: none;
    font-size: 0.95rem;
}

.form-feedback.success {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-feedback.error {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: auto;
        min-height: 600px;
    }

    .hero-content {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 40px;
        transition: var(--transition);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .section-title {
        font-size: 2rem;
    }

    .service-detail {
        padding: 25px;
    }

    .tarif-table {
        font-size: 0.9rem;
    }

    .tarif-table th,
    .tarif-table td {
        padding: 12px 10px;
    }
}

/* Footer */
.footer {
    background: #020617;
    color: var(--text-muted);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1 1 250px;
    min-width: 250px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section li {
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Modales */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    color: var(--text-muted);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    color: var(--text-main);
    margin-bottom: 25px;
    font-size: 2rem;
}

.modal-content h3 {
    color: var(--primary-color);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.modal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.reveal.delay-200 {
    transition-delay: 0.2s;
}

.reveal.delay-300 {
    transition-delay: 0.3s;
}

/* Progressive Enhancement for Scroll Reveal */
.reveal {
    opacity: 1;
    transform: none;
    transition: all 0.8s ease-out;
}

body.js-enabled .reveal {
    opacity: 0;
    transform: translateY(30px);
}

body.js-enabled .reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.chatbot-bubble {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.chatbot-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.6);
}

.chatbot-icon {
    font-size: 26px;
}

.chatbot-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 360px;
    height: 450px;
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(15px);
    opacity: 0;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-panel.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}

.chatbot-header {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.2s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.5);
}

.message {
    margin-bottom: 15px;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 85%;
    font-size: 0.95rem;
    animation: messageIn 0.3s ease;
    line-height: 1.5;
}

.message.bot {
    background: var(--bg-card);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.message.user {
    background: var(--primary-color);
    color: var(--white);
    align-self: flex-end;
    margin-left: auto;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.2);
}

.chatbot-input {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-card);
}

.chatbot-input input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 14px;
    background: rgba(15, 23, 42, 0.5);
    color: var(--text-main);
}

.chatbot-input input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chatbot-input button {
    margin-left: 10px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

.chatbot-input button:hover {
    background: var(--secondary-color);
}