:root {
    --bg-color: #0d131f;
    --text-primary: #ffffff;
    --text-muted: #aab5c4;
    --text-dark: #2b3a55;
    --primary-color: #fce28b; /* Or brillant */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-color: rgba(255, 255, 255, 0.1);
}

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

html {
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    animation: pageEnter 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pageEnter {
    from { opacity: 0; filter: blur(5px); transform: translateY(5px); }
    to { opacity: 1; filter: none; transform: none; }
}

@keyframes pageExit {
    from { opacity: 1; filter: none; transform: none; }
    to { opacity: 0; transform: scale(0.98); }
}

a {
    text-decoration: none;
    color: inherit;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    z-index: 10;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 20;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-logo {
    height: 48px; /* Hauteur ajustée pour la barre de navigation */
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link-dev {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
}

.nav-link-dev svg {
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link-dev:hover svg {
    opacity: 1;
    transform: translate(2px, -2px);
}

.btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    font-weight: 600;
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 20px rgba(252, 226, 139, 0.5);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(13, 19, 31, 0.4), rgba(13, 19, 31, 0.95)), url('../images/golden_mountains_transparent.webp'), radial-gradient(ellipse at 50% 80%, rgba(252, 226, 139, 0.12) 0%, transparent 70%);
    background-size: cover, cover, auto;
    background-position: center bottom, center center, center bottom;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.05;
    margin-bottom: 2rem;
    letter-spacing: -2px;
}

.title-dark {
    font-size: 6.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.title-light {
    font-size: 7rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Gap for items inside the row */
    margin-top: -0.5rem;
}

.plus {
    color: #444;
    font-weight: 400;
}

.icon-fingerprint {
    color: var(--primary-color);
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 15px rgba(252, 226, 139, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.icon-fingerprint svg {
    width: 100%;
    height: 100%;
}

.icon-star {
    color: #ffb86c; /* Warm orange sunset hue */
    width: 72px;
    height: 72px;
    filter: drop-shadow(0 0 20px rgba(255, 184, 108, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.5rem;
}

.icon-star svg {
    width: 100%;
    height: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 400;
}

.hero-cta {
    position: relative;
    display: inline-block;
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    filter: blur(40px);
    opacity: 0.2;
    z-index: 0;
    border-radius: 50px;
    transition: opacity 0.3s ease;
}

.hero-cta:hover .cta-glow {
    opacity: 0.4;
}

.btn-cta {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(252, 226, 139, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 4s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    z-index: -1;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-cta:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-width: 900px;
    width: 90%;
    z-index: 100;
    animation: slideUp 0.5s ease-out;
}

/* Magnetic Button Utilities */
.magnetic-wrap {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    will-change: transform;
}
.magnetic-wrap.no-transition {
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease, transform 0s !important;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.cookie-text {
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.5;
    flex: 1;
}

.cookie-text a {
    color: var(--primary-color);
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-cookie-decline {
    background: #333333;
    color: var(--text-primary);
}

.btn-cookie-decline:hover {
    background: #444444;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: #000;
    font-weight: 600;
}

.btn-cookie-accept:hover {
    filter: brightness(1.1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .title-dark { font-size: 5rem; }
    .title-light { font-size: 5.5rem; }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 19, 31, 0.98);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }
    
    .nav-actions {
        display: none;
    }

    .nav-actions.active {
        display: flex;
        position: absolute;
        top: 100%;
        margin-top: 220px; /* approximatif sous les liens */
        left: 0;
        right: 0;
        justify-content: center;
        z-index: 21;
        padding-bottom: 2rem;
        background: rgba(13, 19, 31, 0.98);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 30px rgba(0,0,0,0.5);
        border-radius: 0 0 12px 12px;
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
        border-bottom: none;
        box-shadow: none;
        padding-bottom: 0;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .title-dark { font-size: 3.5rem; }
    .title-light { font-size: 3.5rem; gap: 0.5rem; }
    
    .about-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .section-subtitle {
        font-size: 1.8rem;
    }

    .icon-fingerprint, .icon-star {
        width: 40px;
        height: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Force grids to stack on mobile */
    .offer-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .about-section {
        padding: 4rem 1.5rem;
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Prevent tables from breaking viewport */
    .table-responsive-wrapper {
        width: 100%;
        max-width: 100vw;
        overflow-x: auto;
    }
}

/* About Us Section */
.about-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

.about-hero {
    position: relative;
    padding: 4rem 0 6rem 0;
    margin-bottom: 2rem;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(252, 226, 139, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

.about-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.about-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ffb86c);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    perspective: 1200px;
}

.team-grid:hover .team-member:not(:hover) {
    opacity: 0.5;
    filter: grayscale(40%);
    transform: scale(0.95);
}

.team-member {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 226, 139, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    pointer-events: none;
}

.team-member:hover {
    border-color: rgba(252, 226, 139, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px inset rgba(252, 226, 139, 0.1);
}

.team-member:hover::before {
    opacity: 1;
}

/* Portrait pop-out effect in 3D */
.team-member:hover .portrait-container {
    transform: translateZ(60px) scale(1.05);
    box-shadow: 0 25px 40px rgba(0, 0, 0, 0.5);
}

.portrait-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem auto;
    position: relative;
    z-index: 1;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary-color), #ffb86c);
    box-shadow: 0 10px 25px rgba(252, 226, 139, 0.2);
    transition: transform 0.4s ease;
}

.team-member:hover .portrait-container {
    transform: scale(1.05);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-color);
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.team-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.values-section {
    margin-top: 8rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: left;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 10px rgba(252, 226, 139, 0.3));
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Offers Section */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.offer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.offer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(252, 226, 139, 0.5); /* Golden highlight */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.offer-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.offer-details {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    font-family: var(--font-body);
}

.chatbot-toggle {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color), #ffb86c);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(252, 226, 139, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.chatbot-toggle::before {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), transparent);
    z-index: -1;
    animation: spin-glow 3s linear infinite;
    opacity: 0.5;
}

@keyframes spin-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.chatbot-toggle svg {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 30px rgba(252, 226, 139, 0.6);
}

.chatbot-toggle:hover svg {
    transform: scale(1.1);
}

.chatbot-toggle.active {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chatbot-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 380px;
    height: 550px;
    background: rgba(13, 19, 31, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px inset rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.chatbot-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.chatbot-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    position: relative;
}

.chatbot-title img {
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
}

.status-indicator-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #4ade80;
    position: absolute;
    top: -2px;
    right: -4px;
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}
.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

.message {
    max-width: 85%;
    padding: 1rem 1.2rem;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: message-appear 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes message-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-top-left-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.user-message {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(252, 226, 139, 0.15), rgba(255, 184, 108, 0.1));
    color: var(--text-primary);
    border-top-right-radius: 4px;
    border: 1px solid rgba(252, 226, 139, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.chatbot-input {
    padding: 1.2rem;
    display: flex;
    gap: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0.8rem 1.2rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.chatbot-input input:focus {
    border-color: rgba(252, 226, 139, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(252, 226, 139, 0.1);
}

.chatbot-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chatbot-input button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary-color), #ffb86c);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 226, 139, 0.3);
    flex-shrink: 0;
}

.chatbot-input button:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(252, 226, 139, 0.5);
}

.chatbot-input button:active {
    transform: scale(0.95);
}

.chatbot-input button svg {
    width: 20px;
    height: 20px;
    transform: translateX(1px);
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 0.5rem 0.2rem;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
    opacity: 0.5;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-5px); opacity: 1; background: var(--primary-color); }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 2rem);
        right: -1rem;
        bottom: 80px;
        height: 80vh;
    }
}

/* Footer Styles */
.site-footer {
    border-top: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.02);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem; /* Ensure space below main content */
}

/* Tech Stack Banner */
.tech-stack-section {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.tech-stack-title {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-marquee {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee 35s linear infinite;
    white-space: nowrap;
}

.tech-marquee:hover {
    animation-play-state: paused;
}

.tech-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    opacity: 0.6;
    transition: opacity 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-item:hover {
    opacity: 1;
    color: var(--primary-color);
    transform: scale(1.05);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 2rem)); }
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    width: 100%;
}

/* Use Cases Section */
.use-cases-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.use-case-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.use-case-card:hover {
    transform: translateY(-8px);
    border-color: rgba(252, 226, 139, 0.5); /* Golden highlight */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.use-case-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(252, 226, 139, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.use-case-icon svg {
    width: 32px;
    height: 32px;
}

.use-case-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.use-case-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.use-case-tag {
    align-self: flex-start;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 48px;
    width: auto;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.footer-social a {
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Contact Section */
.contact-wrapper {
    max-width: 1000px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    text-align: left;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    margin-top: 1rem;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.05rem;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

.reveal-left {
    transform: translateX(-40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
    transform: translateX(0);
    opacity: 1;
}

.reveal-right {
    transform: translateX(40px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
    transform: translateX(0);
    opacity: 1;
}
/* Blog Styles */
.blog-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #ffb86c);
    color: #000;
    font-weight: 600;
    border: none;
    box-shadow: 0 6px 15px rgba(252, 226, 139, 0.3);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.article-featured {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    padding: 3rem !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(252, 226, 139, 0.05) 100%);
    border-color: rgba(252, 226, 139, 0.2);
}

@media (max-width: 900px) {
    .article-featured {
        flex-direction: column;
        padding: 2rem !important;
        grid-column: auto;
    }
}

.article-meta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.badge.tag-case { background: rgba(74, 222, 128, 0.15); color: #4ade80; border: 1px solid rgba(74, 222, 128, 0.3); }
.badge.tag-tuto { background: rgba(96, 165, 250, 0.15); color: #60a5fa; border: 1px solid rgba(96, 165, 250, 0.3); }
.badge.tag-actu { background: rgba(192, 132, 252, 0.15); color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.3); }
.badge.time { background: rgba(255, 255, 255, 0.05); color: var(--text-muted); border: 1px solid rgba(255, 255, 255, 0.1); }
.badge.level { background: rgba(252, 226, 139, 0.1); color: var(--primary-color); border: 1px solid rgba(252, 226, 139, 0.3); }

.newsletter-section {
    grid-column: 1 / -1;
    margin-top: 3rem;
    background: radial-gradient(circle at center, rgba(30, 30, 30, 0.8) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), #ffb86c, transparent);
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.newsletter-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 1.2rem 1.5rem;
    border-radius: 30px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
    border-radius: 30px;
    padding: 0 2rem;
    white-space: nowrap;
    font-weight: 600;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-section {
        text-align: center;
        padding: 3rem 1.5rem;
    }
}

/* --- MOBILE RESPONSIVENESS --- */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    z-index: 1000;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 1rem 1.5rem;
        justify-content: space-between;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links, .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .nav-links.active, .nav-actions.active {
        display: flex;
    }
    
    /* Resize giant headers */
    .title-dark {
        font-size: 3rem;
    }
    .title-light {
        font-size: 3.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
    .about-title {
        font-size: 2.5rem;
    }
    
    /* Resize grids to single column */
    .use-cases-grid, .team-grid, .offer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero, .about-section {
        padding: 3rem 1.5rem;
    }
}
