/* Reset et variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-hover: #8b5cf6;
    --accent-fuchsia: #9333ea;
    --dark-bg: #06030d;
    --dark-card: #0c0614;
    --dark-card-lighter: #140a1f;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-light-gray: #cbd5e1;
    --border-color: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glow-violet: rgba(91, 33, 182, 0.28);
    --glow-soft: rgba(76, 29, 149, 0.18);
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    zoom: 0.68;
    transform-origin: top left;
}

/* Mobile : on annule le zoom desktop pour que la mise en page reste lisible. */
@media (max-width: 900px) {
    body { zoom: 1; transform-origin: top left; }
}

/* Landing : pas de zoom — sinon 100vh ne remplit pas l’écran visuel et la suite “déborde” sous le hero */
body.landing-page {
    zoom: 1;
    width: 100%;
    max-width: 100vw;
    /* Aligné Ruixen AI / shadcn : Geist Sans (Vercel) */
    --ruixen-ui: "Geist Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --ruixen-display: "Geist Sans", ui-sans-serif, system-ui, sans-serif;
    --ruixen-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ruixen-fg: #fafafa;
    --ruixen-muted: #a3a3a3;
    --ruixen-border: rgba(64, 64, 64, 0.85);
    --ruixen-surface: rgba(0, 0, 0, 0.55);
    font-family: var(--ruixen-ui);
    background: #010105;
    color: var(--ruixen-fg);
}

/* Background animé avec formes verticales */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background:
        linear-gradient(180deg,
            #12051f 0%,
            #0c0414 25%,
            #06030d 50%,
            #04020a 75%,
            #020106 100%
        );
    overflow: hidden;
    animation: backgroundPulse 20s ease-in-out infinite;
}

/* Quand WebGL est actif, le canvas prend le relais — on masque tout le CSS */
.background-wrapper.webgl-active {
    background: none;
    animation: none;
}
.background-wrapper.webgl-active::before,
.background-wrapper.webgl-active::after {
    display: none;
}

.background-wrapper::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: 
        radial-gradient(ellipse 70% 60% at 30% 20%, 
            rgba(91, 33, 182, 0.11) 0%, 
            transparent 50%
        ),
        radial-gradient(ellipse 50% 70% at 70% 80%, 
            rgba(124, 58, 237, 0.07) 0%, 
            transparent 50%
        );
    animation: backgroundFlow 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundPulse {
    0%, 100% {
        filter: brightness(1) contrast(1);
    }
    50% {
        filter: brightness(1.02) contrast(1.01);
    }
}

@keyframes backgroundFlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    33% {
        transform: translate(5%, -5%) scale(1.1);
        opacity: 1;
    }
    66% {
        transform: translate(-3%, 4%) scale(0.95);
        opacity: 0.9;
    }
}

/* Formes lumineuses animées */
.background-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        /* Forme principale centrale */
        radial-gradient(ellipse 50% 80% at 50% 30%, 
            rgba(91, 33, 182, 0.16) 0%, 
            rgba(76, 29, 149, 0.1) 30%,
            transparent 60%
        ),
        /* Forme gauche */
        radial-gradient(ellipse 30% 100% at 15% 40%, 
            rgba(76, 29, 149, 0.14) 0%, 
            transparent 60%
        ),
        /* Forme droite */
        radial-gradient(ellipse 30% 100% at 85% 40%, 
            rgba(76, 29, 149, 0.14) 0%, 
            transparent 60%
        ),
        /* Halo central animé */
        radial-gradient(ellipse 60% 50% at 50% 20%, 
            rgba(124, 58, 237, 0.12) 0%, 
            transparent 50%
        ),
        /* Effets de profondeur */
        radial-gradient(ellipse 40% 80% at 25% 60%, 
            rgba(59, 7, 100, 0.2) 0%, 
            transparent 50%
        ),
        radial-gradient(ellipse 40% 80% at 75% 60%, 
            rgba(59, 7, 100, 0.2) 0%, 
            transparent 50%
        );
    animation: floatGlow 30s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

/* Index : fond neutre (zinc / noir) comme les landings Ruixen — pas de halos violet */
html:has(body.landing-page) .background-wrapper {
    background: linear-gradient(180deg, #010105 0%, #08080f 32%, #010105 68%, #000006 100%);
}

html:has(body.landing-page) .background-wrapper::before {
    background:
        radial-gradient(ellipse 70% 60% at 30% 20%, rgba(255, 255, 255, 0.045) 0%, transparent 52%),
        radial-gradient(ellipse 50% 70% at 70% 80%, rgba(255, 255, 255, 0.028) 0%, transparent 52%);
}

html:has(body.landing-page) .background-wrapper::after {
    background:
        radial-gradient(ellipse 50% 80% at 50% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 58%),
        radial-gradient(ellipse 30% 100% at 15% 40%, rgba(255, 255, 255, 0.035) 0%, transparent 58%),
        radial-gradient(ellipse 30% 100% at 85% 40%, rgba(255, 255, 255, 0.035) 0%, transparent 58%),
        radial-gradient(ellipse 60% 50% at 50% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 52%),
        radial-gradient(ellipse 40% 80% at 25% 60%, rgba(0, 0, 0, 0.35) 0%, transparent 52%),
        radial-gradient(ellipse 40% 80% at 75% 60%, rgba(0, 0, 0, 0.35) 0%, transparent 52%);
}

html:has(body.landing-page) .background-darken {
    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(0, 0, 0, 0.22) 30%,
            rgba(0, 0, 0, 0.42) 60%,
            rgba(0, 0, 0, 0.62) 85%,
            rgba(0, 0, 0, 0.8) 100%
        ),
        radial-gradient(ellipse 100% 100% at 50% 50%,
            transparent 0%,
            rgba(0, 0, 0, 0.22) 50%,
            rgba(0, 0, 0, 0.42) 100%
        );
}

/* Dashboard : fond très sombre (variable --dashboard-bg dans dashboard.css) */
html:has(body.dashboard-page) .background-wrapper {
    background: var(--dashboard-bg, #0c0d14);
    animation: none;
}

html:has(body.dashboard-page) .background-wrapper::before,
html:has(body.dashboard-page) .background-wrapper::after {
    display: none;
}

html:has(body.dashboard-page) .background-darken {
    opacity: 0;
    pointer-events: none;
}


/* Animation des formes lumineuses */
@keyframes floatGlow {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.9;
    }
    16.66% {
        transform: translate(4%, -3%) scale(1.08) rotate(6deg);
        opacity: 1;
    }
    33.33% {
        transform: translate(2%, 4%) scale(1.05) rotate(3deg);
        opacity: 0.95;
    }
    50% {
        transform: translate(-3%, 2%) scale(0.95) rotate(-4deg);
        opacity: 0.9;
    }
    66.66% {
        transform: translate(-2%, -2%) scale(0.98) rotate(-2deg);
        opacity: 0.95;
    }
    83.33% {
        transform: translate(3%, 3%) scale(1.06) rotate(4deg);
        opacity: 1;
    }
}

/* Assombrissement au scroll avec effet de profondeur */
.background-darken {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(180deg, 
            transparent 0%, 
            rgba(12, 0, 28, 0.22) 30%,
            rgba(8, 0, 22, 0.42) 60%,
            rgba(6, 0, 18, 0.62) 85%,
            rgba(4, 0, 12, 0.82) 100%
        ),
        radial-gradient(ellipse 100% 100% at 50% 50%, 
            transparent 0%, 
            rgba(20, 5, 45, 0.32) 50%,
            rgba(8, 0, 22, 0.52) 100%
        );
    opacity: var(--scroll-opacity, 0);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 1.25rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container.scrolled {
    background: rgba(22, 10, 42, 0.88);
    padding: 1rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    margin-left: -1rem;
    gap: 0.75rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-right--auth {
    gap: 0.65rem;
}

.logo-link {
    text-decoration: none;
    color: inherit;
}

.logo-link:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 4px;
    border-radius: 10px;
}

/* Auth minimal (landing) : Se connecter + S'inscrire */
.nav-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.95rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--text-light-gray);
    border: 1px solid transparent;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.nav-auth-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.nav-signup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.05rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: #0a0a0a;
    background: #f0f2ff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.nav-signup-btn:hover {
    background: #ffffff;
    border-color: rgba(31, 61, 188, 0.35);
    box-shadow: 0 0 0 1px rgba(31, 61, 188, 0.18);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-light-gray);
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.nav-menu a:hover {
    color: var(--text-white);
}

.login-button {
    background: var(--dark-card);
    color: var(--text-white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 11px;
    font-size: 1.2rem;
    font-weight: 500;
    margin-right: -1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.login-button:hover {
    background: var(--dark-card-lighter);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-white);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.hero-content {
    max-width: 850px;
    width: 100%;
    margin-top: -5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 0.3rem;
    margin-top: 24rem;
    color: var(--text-white);
    font-family: 'Alike', serif;
    letter-spacing: -0.03em;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--text-gray);
    line-height: 1.3;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-weight: 200;
    text-align: center;
}

/* Chat Box */
/* ── Chat Box ────────────────────────────────── */
.chat-box {
    position: relative;
    background: rgba(18, 18, 26, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 20px;
    padding: 1.5rem 1.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 auto;
    margin-bottom: 20rem;
    max-width: 820px;
    width: 100%;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 4px 40px rgba(0,0,0,0.5),
        0 1px 0 rgba(255,255,255,0.06) inset;
}

/* gradient border top */
.chat-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 21px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
    pointer-events: none;
    z-index: 0;
}

.chat-input {
    position: relative;
    z-index: 1;
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 1.05rem;
    padding: 0.25rem 0;
    outline: none;
    font-family: inherit;
    resize: none;
    overflow: hidden;
    min-height: 90px;
    max-height: 220px;
    line-height: 1.65;
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.22);
}

.chat-input:focus::placeholder {
    opacity: 0.5;
}

.chat-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.5rem;
}

.chat-footer-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 1;
    overflow: hidden;
    min-width: 0;
}

.chat-footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.attach-btn {
    background: rgba(255,255,255,0.07);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.attach-btn:hover {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
}

.suggestions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
}

.suggestion-chip {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.45);
    padding: 0.38rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: inherit;
    flex-shrink: 0;
    white-space: nowrap;
}

.suggestion-chip:hover {
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.chip-icon {
    color: #a78bfa;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.chip-icon svg { display: block; }

.more-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.more-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    transform: rotate(180deg);
}

.send-button {
    background: var(--primary-color);
    border: none;
    height: 36px;
    padding: 0 1.1rem;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(76, 29, 149, 0.28);
}

.send-button:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 22px rgba(91, 33, 182, 0.35);
    transform: scale(1.02);
}

.send-button:active {
    transform: scale(0.97);
}

/* Browse Section */
.browse-section {
    padding: clamp(3rem, 8vw, 5.5rem) 1.25rem;
    margin: 0 auto;
    position: relative;
    overflow: visible;
    z-index: 1;
    background: #010104;
    isolation: isolate;
}

.browse-shell {
    max-width: 1180px;
    margin: 0 auto;
    /* Même padding haut / bas + gauche / droite pour une carte alignée */
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.25rem, 3.5vw, 2.25rem);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: #010104;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.4) inset,
        0 24px 64px rgba(0, 0, 0, 0.35);
}

.browse-header {
    text-align: center;
    justify-content: center;
    padding: 0 0 2.25rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.browse-header h2 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-white);
    font-family: 'Alike', serif;
    letter-spacing: -0.03em;
}

.browse-header p {
    font-size: 1.15rem;
    color: var(--ruixen-muted);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.5;
    margin-bottom: 0;
    font-family: var(--ruixen-ui);
    font-weight: 400;
}

/* Radar demi-cercle : anneaux = cercles complets type snippet (idx×5rem), clip sur la moitié haute */
.browse-radar-zone {
    position: relative;
    z-index: 1;
    padding: 0 0 0.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.radar-clip-half {
    width: min(100%, 44rem);
    aspect-ratio: 2 / 1;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.radar-stage {
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    max-width: 44rem;
    aspect-ratio: 1;
    transform: translateX(-50%);
    pointer-events: none;
}

.radar-stage .radar-pins,
.radar-stage .radar-pins a {
    pointer-events: auto;
}

/* Comme le snippet React : radar-spin 20° → 360°, pivot = centre du radar (right 50% + origin right center) */
@keyframes radar-spin {
    from {
        transform: rotate(20deg);
    }
    to {
        transform: rotate(380deg);
    }
}

.radar-sweep {
    position: absolute;
    right: 50%;
    top: 50%;
    z-index: 4;
    width: min(400px, 85vw);
    height: 5px;
    margin-top: -2.5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    transform-origin: right center;
    pointer-events: none;
    animation: radar-spin 10s linear infinite;
}

.radar-sweep-line {
    position: relative;
    z-index: 4;
    height: 1px;
    width: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(124, 58, 237, 0.2) 22%,
        rgba(139, 92, 246, 0.95) 50%,
        rgba(124, 58, 237, 0.2) 78%,
        transparent 100%
    );
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .radar-sweep {
        animation: none;
        transform: rotate(40deg);
    }
}

.radar-rings {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.radar-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: calc(var(--i) * 5rem);
    height: calc(var(--i) * 5rem);
    margin-left: calc(var(--i) * -2.5rem);
    margin-top: calc(var(--i) * -2.5rem);
    border-radius: 50%;
    border: 1px solid rgba(71, 85, 105, calc(1 - var(--i) * 0.1));
    box-sizing: border-box;
    opacity: 0.95;
    z-index: 1;
}

.radar-pins {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.radar-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: max-content;
    max-width: min(7.5rem, 28vw);
    text-decoration: none;
    color: inherit;
    transform: translate(-50%, -50%) rotate(var(--pin-angle, 0deg)) translateY(calc(-1 * var(--pin-r, 10rem))) rotate(calc(-1 * var(--pin-angle, 0deg)));
    transition: opacity 0.2s ease;
}

.radar-pin:hover {
    opacity: 0.92;
}

/* Distance au centre = rayon de l’anneau i (diamètre anneau = i×5rem → r = i×2.5rem), avec clamp responsive */
.radar-pin--r3 {
    --pin-r: clamp(5.75rem, 19vw, 7.5rem);
}

.radar-pin--r4 {
    --pin-r: clamp(7.5rem, 23vw, 10rem);
}

.radar-pin--r5 {
    --pin-r: clamp(9rem, 26vw, 12.5rem);
}

.radar-pin--r6 {
    --pin-r: clamp(10.5rem, 29vw, 15rem);
}

.radar-pin--r7 {
    --pin-r: clamp(13.5rem, 33vw, 17.5rem);
}

.radar-pin--r8 {
    --pin-r: clamp(15.5rem, 36vw, 20rem);
}

/* Logo seul (pas de carte / fond derrière l’image) */
.radar-pin-img {
    width: clamp(2.5rem, 6.5vw, 3.5rem);
    height: clamp(2.5rem, 6.5vw, 3.5rem);
    object-fit: contain;
    object-position: center;
    display: block;
    image-rendering: auto;
    filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

.radar-pin-img--svg {
    image-rendering: geometricPrecision;
}

.radar-pin-label {
    font-family: var(--ruixen-ui);
    font-size: 0.65rem;
    font-weight: 500;
    color: rgba(163, 163, 163, 0.92);
    text-align: center;
    line-height: 1.15;
}

@media (max-width: 640px) {
    .radar-pin-label {
        font-size: 0.58rem;
        max-width: 4.5rem;
    }
}

/* Stats — bande éditoriale (sans cartes) */
.browse-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 2.25rem 0 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.browse-stat-col {
    padding: 0 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.browse-stat-col:first-child {
    border-left: none;
}

.browse-stat-num {
    font-family: var(--ruixen-display);
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: var(--ruixen-fg);
    font-variant-numeric: tabular-nums;
}

.browse-stat-desc {
    font-family: var(--ruixen-ui);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(163, 163, 163, 0.88);
    line-height: 1.45;
    max-width: 18ch;
}

@media (max-width: 900px) {
    .browse-stats {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        padding: 2rem 0 4rem;
        gap: 0;
    }

    .browse-stat-col {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        padding: 1.25rem 0.5rem;
    }

    .browse-stat-col:first-child {
        border-top: none;
        padding-top: 0;
    }

    .browse-stat-desc {
        max-width: 24ch;
    }
}

.tool-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.tool-item:last-child {
    border-bottom: none;
}

.tool-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Pas de fond par défaut - seulement pour les initiales */
.tool-icon.blue .tool-emoji { background: rgba(59, 130, 246, 0.3); }
.tool-icon.green .tool-emoji { background: rgba(16, 185, 129, 0.3); }
.tool-icon.red .tool-emoji { background: rgba(239, 68, 68, 0.3); }
.tool-icon.purple .tool-emoji { background: rgba(139, 92, 246, 0.3); }
.tool-icon.orange .tool-emoji { background: rgba(249, 115, 22, 0.3); }

/* Placeholder de chargement */
.loading-placeholder {
    color: var(--text-gray);
    font-size: 0.85rem;
    padding: 1rem 0;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

/* Tool item cliquable */
a.tool-item {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

a.tool-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding: 0.75rem 0.5rem;
}

/* Logo des outils */
.tool-logo {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: cover;
}

.tool-emoji {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
}

.tool-emoji {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tool-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tool-name {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-weight: 300;
}

.tool-link {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Glitch Effect */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-white);
    opacity: 0.8;
}

/* Journey Section */
.journey-section {
    padding: 0 20px;
    max-width: 1300px;
    margin: -50px auto 0;
    height: 1000vh; /* Scroll plus long pour une expérience plus contemplative */
    position: relative;
}

.journey-sticky {
    position: sticky;
    top: 50px; /* Distance du haut quand c'est collé */
    height: calc(100vh - 100px); /* Hauteur visible */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement */
    background: var(--bg-dark);
    z-index: 10;
}

.journey-sticky::before {
    content: '';
    flex: 0.5;
    min-height: 0;
}

.journey-sticky::after {
    content: '';
    flex: 1.3;
    min-height: 0;
}

.journey-header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1300px;
}

.journey-header h2 {
    font-family: 'Alike', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.journey-header p {
    font-size: 1.35rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.4;
    margin-bottom: 2.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-weight: 200;
}

.journey-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5rem;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

.journey-tab {
    text-align: center;
    cursor: pointer;
    padding: 1rem;
    margin-bottom: -8rem;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-tab span {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.35);
    display: block;
    margin-bottom: 1rem;
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.journey-tab.active span {
    color: var(--text-white);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.journey-tab.completed span {
    color: rgba(255, 255, 255, 0.6);
}

/* Barre de progression unique en outline */
.tabs-progress-bar {
    width: 100%;
    max-width: 450px;
    height: 4px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-top: -1rem;
}

.tabs-progress-fill {
    position: absolute;
    top: -1px;
    left: 0;
    height: calc(100% + 2px);
    width: 0%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.journey-content {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150%;
    max-width: 1250px;
}

.journey-card {
    background: rgba(217, 217, 217, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    min-height: 480px;
    height: 480px;
    opacity: 0;
    transform: translateX(-50%) translateY(100px) scale(0.95);
    transition: 
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 1s cubic-bezier(0.22, 1, 0.36, 1),
        z-index 0s;
    position: absolute;
    top: 0;
    left: 50%;
    pointer-events: none;
    width: 120%;
    max-width: 2100px;
    min-height: 550px;
    will-change: opacity, transform;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.journey-card.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    z-index: 10;
    pointer-events: auto;
    box-shadow: 
        0 25px 80px -20px rgba(0, 54, 140, 0.15),
        0 0 60px -30px rgba(168, 85, 247, 0.2);
}

/* Cartes passées - invisibles */
.journey-card.passed {
    opacity: 0;
    pointer-events: none;
}

.journey-image {
    flex: 0 0 400px;
    width: 380px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.journey-mockup {
    width: 340px;
    height: 270px;
    background: linear-gradient(135deg, #2e1065 0%, #14081f 100%);
    border-radius: 16px;
    position: relative;
    transform: perspective(800px) rotateY(-15deg) rotateX(5deg);
    box-shadow: 
        -20px 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(168, 85, 247, 0.12);
}

.journey-mockup::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

/* Animation 1 - Loupe (Trouvez) */
.search-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.magnifying-glass {
    position: relative;
    width: 120px;
    height: 120px;
    animation: searchMove 3s ease-in-out infinite;
}

.glass-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(168, 85, 247, 0.8);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: glassPulse 2s ease-in-out infinite;
}

.glass-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.glass-handle {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 50px;
    height: 4px;
    background: rgba(168, 85, 247, 0.8);
    border-radius: 2px;
    transform: rotate(45deg);
    transform-origin: bottom right;
}

.search-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.search-dots span {
    width: 8px;
    height: 8px;
    background: rgba(168, 85, 247, 0.6);
    border-radius: 50%;
    animation: dotBounce 1.4s ease-in-out infinite;
}

.search-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.search-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes searchMove {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(20px) translateY(-15px); }
    50% { transform: translateX(-15px) translateY(10px); }
    75% { transform: translateX(10px) translateY(15px); }
}

@keyframes glassPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes dotBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(-10px); opacity: 1; }
}

/* Animation 2 - IA Brain (Testez) */
.ai-test-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain {
    position: relative;
    width: 140px;
    height: 140px;
}

.brain-core {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: brainPulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}

.brain-core::before,
.brain-core::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 20px;
    left: 20px;
    animation: neuronBlink 1.5s ease-in-out infinite;
}

.brain-core::after {
    top: 50px;
    left: 50px;
    animation-delay: 0.5s;
}

.brain-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    animation: pulseExpand 2s ease-out infinite;
}

.pulse-1 { animation-delay: 0s; }
.pulse-2 { animation-delay: 0.7s; }
.pulse-3 { animation-delay: 1.4s; }

.ai-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(168, 85, 247, 0.7);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 0.8s;
}

.particle:nth-child(3) {
    top: 40%;
    right: 25%;
    animation-delay: 1.6s;
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 30%;
    animation-delay: 2.4s;
}

@keyframes brainPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

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

@keyframes pulseExpand {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(20px, -30px) scale(1.3);
        opacity: 1;
    }
}

/* Animation 3 - Code (Intégrez) */
.code-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 70%;
}

.code-window {
    width: 100%;
    height: 100%;
    background: rgba(10, 20, 40, 0.8);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.code-header {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.code-dot:nth-child(1) { background: rgba(255, 95, 86, 0.8); }
.code-dot:nth-child(2) { background: rgba(255, 189, 46, 0.8); }
.code-dot:nth-child(3) { background: rgba(52, 199, 89, 0.8); }

.code-content {
    padding: 20px;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.code-line {
    margin-bottom: 12px;
    opacity: 0;
    animation: codeType 0.8s ease-out forwards;
}

.code-line:nth-child(1) { animation-delay: 0.3s; }
.code-line:nth-child(2) { animation-delay: 1.1s; }
.code-line:nth-child(3) { animation-delay: 1.9s; }

.code-keyword {
    color: #8b5cf6;
}

.code-var {
    color: #9CDCFE;
}

.code-string {
    color: #CE9178;
}

.code-function {
    color: #DCDCAA;
}

.code-comment {
    color: #6A9955;
    font-style: italic;
}

@keyframes codeType {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.journey-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.journey-step {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-gray);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 5rem;
    display: block;
}

.journey-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.2rem;
    line-height: 1.25;
}

.journey-desc {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.journey-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: nowrap;
}

.btn-journey-primary {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    background: linear-gradient(90deg, #5b21b6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 28px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.btn-journey-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.3);
}

.btn-journey-secondary {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.9rem 1.8rem;
    border-radius: 28px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn-journey-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.journey-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    white-space: nowrap;
}

.trust-avatars {
    display: flex;
}

.trust-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0.6px solid rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.trust-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.trust-avatar:first-child {
    margin-left: 0;
}

.journey-trust span {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 0.8rem;
    color: var(--text-gray);
}

.journey-trust strong {
    color: var(--text-white);
}

/* Responsive - Tablette */
@media (max-width: 1024px) {
    .nav-container {
        max-width: 95%;
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .hero-content {
        max-width: 90%;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .chat-box {
        max-width: 90%;
    }

    .browse-section {
        padding: clamp(2.5rem, 6vw, 4rem) 1rem;
    }

    .browse-shell {
        padding: clamp(2rem, 4vw, 2.75rem) 1.25rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
        border-radius: 15px;
    }

    .logo {
        margin-left: 0;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-right {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 3rem;
        max-width: 100%;
    }

    .chat-box {
        max-width: 100%;
        padding: 1.25rem;
        border-radius: 16px;
    }

    .chat-input {
        font-size: 0.95rem;
    }

    .chat-footer {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-top: 1rem;
        align-items: center;
        justify-content: flex-start;
    }

    .suggestions {
        flex-wrap: wrap;
        gap: 0.5rem;
        flex: 1;
    }

    .suggestion-chip {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
    }

    .more-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .send-button {
        width: 34px;
        height: 34px;
        margin-left: auto;
    }

    .browse-section {
        padding: clamp(2rem, 5.5vw, 3rem) 0.75rem;
    }

    .browse-shell {
        padding: 1.5rem 0.9rem;
        border-radius: 1.25rem;
    }

    .browse-header h2 {
        font-size: 1.5rem;
    }

    body.landing-page .journey-stack-section .journey-header h2 {
        font-size: 1.5rem;
    }

    .browse-header p {
        font-size: 0.85rem;
    }

    body.landing-page .journey-stack-section .journey-header .hero-subtitle {
        font-size: 0.85rem;
    }

    body.landing-page .browse-header p:not(.hero-subtitle) {
        font-size: 0.85rem;
    }

    .filters {
        justify-content: center;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

}

/* Responsive - Petit mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .suggestion-chip {
        font-size: 0.75rem;
        padding: 0.4rem 0.7rem;
    }

    .more-btn {
        padding: 0.4rem 0.6rem;
    }

    .browse-header h2 {
        font-size: 1.3rem;
    }

    body.landing-page .journey-stack-section .journey-header h2 {
        font-size: 1.3rem;
    }

    .browse-stat-num {
        font-size: 1.65rem;
    }
}

/* Pricing Section */
.pricing-section {
    padding: 350px 20px 100px;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Landing : fond #010105 comme parcours / #produit, typo Geist comme .journey-stack-section */
body.landing-page .pricing-section {
    padding: clamp(2.5rem, 5vw, 4rem) 20px clamp(2rem, 5vw, 6.5rem);
    max-width: 100%;
    background: #010105;
    /* Violet section tarifs : #3b34b8 et variantes */
    --pricing-violet: #3b34b8;
    --pricing-violet-light: #5248d0;
    --pricing-violet-soft: #6460d8;
    --pricing-violet-mid: #2d2880;
    --pricing-violet-deep: #1e1a4a;
    --pricing-violet-ink: #0a0814;
}

body.landing-page .pricing-section .pricing-container {
    max-width: 980px;
    margin: 0 auto;
}

body.landing-page .pricing-section .pricing-header {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
    padding-top: 0;
}

body.landing-page .pricing-section .pricing-header h2 {
    font-family: var(--ruixen-display);
    font-weight: 600;
    font-size: clamp(1.55rem, 2.85vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--ruixen-fg);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
    margin-bottom: 0.65rem;
}

body.landing-page .pricing-section .pricing-header .hero-subtitle {
    max-width: min(92vw, 36rem);
    margin-left: auto;
    margin-right: auto;
}

body.landing-page .pricing-section .pricing-grid {
    gap: 1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

body.landing-page .pricing-section .pricing-column,
body.landing-page .pricing-section .pricing-column-stacked .pricing-column {
    padding: 0.85rem 0.75rem;
    border-radius: 18px;
}

body.landing-page .pricing-section .pricing-column-stacked {
    gap: 1rem;
}

body.landing-page .pricing-section .column-title {
    font-family: var(--ruixen-ui);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

body.landing-page .pricing-section .ai-cards {
    gap: 0.45rem;
    margin-bottom: 0.75rem;
}

body.landing-page .pricing-section .ai-card {
    padding: 0.4rem 0;
    gap: 0.55rem;
}

body.landing-page .pricing-section .ai-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.landing-page .pricing-section .ai-logo img,
body.landing-page .pricing-section .ai-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

body.landing-page .pricing-section .ai-logo--autres {
    padding: 0.35rem;
    box-sizing: border-box;
}

body.landing-page .pricing-section .ai-logo--autres svg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.landing-page .pricing-section .ai-name {
    font-family: var(--ruixen-ui);
    font-size: 0.875rem;
}

body.landing-page .pricing-section .price-main,
body.landing-page .pricing-section .price-detail {
    font-family: var(--ruixen-ui);
    font-size: 0.75rem;
}

body.landing-page .pricing-section .pricing-more-btn {
    padding: 0.55rem 1rem;
    font-family: var(--ruixen-ui);
    font-size: 0.8125rem;
    border-radius: 999px;
    width: auto;
    min-width: 58%;
    background: linear-gradient(92deg, var(--pricing-violet-mid) 0%, var(--pricing-violet) 48%, var(--pricing-violet-light) 100%);
    color: rgba(245, 244, 255, 0.96);
    border: 1px solid rgba(82, 72, 208, 0.45);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

body.landing-page .pricing-section .pricing-more-btn:hover {
    box-shadow: 0 8px 28px rgba(59, 52, 184, 0.38);
}

body.landing-page .pricing-section .pricing-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    /* Remonte sous les cartes : le haut du SVG (début des fils) coïncide avec le bas des boîtes */
    margin-top: -1.5rem;
    position: relative;
    z-index: 1;
}

body.landing-page .pricing-section .pricing-diagram {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
    aspect-ratio: 633 / 110;
    height: auto; /* annule la hauteur fixe du bloc .pricing-diagram global */
    min-height: 160px;
    max-height: min(280px, 48vw);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
}

/* Ancrage en haut : les fils partent du bord supérieur du SVG = juste sous les cartes */
body.landing-page .pricing-section .pricing-diagram .diagram-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    opacity: 0.9;
    pointer-events: none;
}

body.landing-page .pricing-section .pricing-diagram .diagram-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Schéma : fils blancs (.flow-line-base) + flux violet animés (.flow-animation) */
body.landing-page .pricing-section .flow-line-base {
    fill: none;
    pointer-events: none;
}

body.landing-page .pricing-section .flow-animation {
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.75)) drop-shadow(0 0 4px rgba(59, 52, 184, 0.55));
}

body.landing-page .pricing-section .pricing-hub-wrap {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    /* Sous le schéma (pas de chevauchement) : marge positive après la pointe de flèche */
    margin: clamp(0.65rem, 1.75vw, 1.1rem) auto 0;
}

/* Hub Beta : carte verre (sans spotlight), comme les colonnes tarifs */
body.landing-page .pricing-section .pricing-hub-card {
    width: 100%;
    margin-top: 0;
    background: rgba(217, 217, 217, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: clamp(1.15rem, 2.5vw, 1.75rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    box-sizing: border-box;
}

body.landing-page .pricing-section .pricing-hub-card .column-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0;
}

body.landing-page .pricing-section .pricing-hub-card .pricing-hub-description {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-gray);
    margin: 0;
    max-width: 36ch;
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .pricing-section .flow-animation {
        animation: none !important;
        opacity: 0;
    }
}





.pricing-container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 4rem;
}

.pricing-header h2 {
    font-family: 'Alike', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: -0.03em;
    color: var(--text-white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.pricing-header p {
    font-size: 1.4rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-weight: 200;
}

/* Pricing Diagram */
.pricing-diagram {
    position: relative;
    width: 100%;
    height: 430px;
    margin: 0;
    margin-top: -112px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: 0;
}

.diagram-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
}

.diagram-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
    z-index: 1;
}

.flow-line {
    stroke: white;
}

.flow-animation {
    stroke-dasharray: 25 400;
    stroke-dashoffset: 0;
    opacity: 0;
    filter: drop-shadow(0 0 12px rgba(167, 139, 250, 0.95)) drop-shadow(0 0 5px rgba(139, 92, 246, 0.8));
}

/* Branche gauche (colonne 1) */
.flow-left {
    animation: flowMoveIntermittent 6s ease-in-out infinite;
    animation-delay: 0s;
}

/* Branche centrale (colonne 2) */
.flow-mid {
    animation: flowMoveIntermittent 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* Branche droite (colonne 3) */
.flow-right {
    animation: flowMoveIntermittent 6s ease-in-out infinite;
    animation-delay: 3s;
}

/* (flow-main retiré : schéma type Frame 217 — flèche dans le SVG statique) */

@keyframes flowMoveIntermittent {
    0% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
    3% {
        opacity: 1;
    }
    97% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: -425;
        opacity: 0;
    }
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    position: relative;
    margin-bottom: 0;
}

.pricing-column-stacked {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.pricing-column {
    background: rgba(217, 217, 217, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.pricing-column-small {
    padding: 1.2rem;
}

.column-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    text-align: center;
}

.ai-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.ai-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.ai-card:last-child {
    border-bottom: none;
}

.ai-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin: 0 -0.5rem;
    padding: 0.75rem 0.5rem;
}

.ai-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: transparent;
}

.ai-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.ai-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ai-logo.autres {
    background: linear-gradient(135deg, #8b5cf675 0%, #5b21b661 100%);
    font-size: 1.8rem;
}

.ai-name {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-white);
}

.ai-pricing {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-main {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
}

.price-detail {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 300;
}

.pricing-more-btn {
    width: 60%;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(90deg, #5b21b6cf 0%, #8b5cf6e7 100%);
    border: none;
    border-radius: 30px;
    color: var(--text-white);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: center;
}

.pricing-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

/* Responsive Pricing */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .pricing-column-stacked {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 15px;
    }

    body.landing-page .pricing-section {
        padding: 2.5rem 15px 3rem;
    }

    .pricing-header h2 {
        font-size: 2rem;
    }

    .pricing-header p {
        font-size: 1.1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-column-stacked {
        gap: 1.5rem;
    }

    .pricing-diagram {
        height: 200px;
        margin: 2rem 0 3rem;
    }

    body.landing-page .pricing-section .pricing-diagram {
        height: auto;
        min-height: 140px;
        max-height: 200px;
        margin-top: 0;
    }

    body.landing-page .pricing-section .pricing-hub-wrap {
        margin-top: clamp(0.5rem, 1.5vw, 0.9rem);
    }
}

/* Confidentiality Section */
.confidentiality-section {
    padding: 100px 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.confidentiality-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

/* Landing : fond + intro comme parcours / tarifs (Geist, #010105) */
body.landing-page .confidentiality-section {
    padding: clamp(4.5rem, 11vw, 8.5rem) 20px clamp(5rem, 11vw, 8rem);
    max-width: 100%;
    background: #010105;
}

body.landing-page .confidentiality-section .confidentiality-container {
    max-width: 1180px;
}

body.landing-page .confidentiality-section .journey-header {
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

body.landing-page .confidentiality-section .journey-header h2 {
    font-family: var(--ruixen-display);
    font-weight: 600;
    font-size: clamp(1.55rem, 2.85vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--ruixen-fg);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
    margin-bottom: 0.65rem;
}

body.landing-page .confidentiality-section .confidentiality-cards {
    margin-bottom: 0;
    gap: clamp(1rem, 2vw, 2rem);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

/* Cartes confidentialité : équivalent du composant React (Card + couches + hover group) */
body.landing-page .confidentiality-section .confidentiality-card-wrap {
    cursor: pointer;
    width: 100%;
    max-width: 350px;
    justify-self: center;
    min-height: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.5s ease;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover {
    transform: scale(1.05) rotate(-1deg);
}

body.landing-page .confidentiality-section .confidentiality-card-ui {
    position: relative;
    overflow: hidden;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    color: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition:
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-ui {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow:
        0 35px 60px -15px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 48px rgba(255, 255, 255, 0.06);
}

/* Fonds décoratifs */
body.landing-page .confidentiality-section .confidentiality-card-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

body.landing-page .confidentiality-section .confidentiality-card-bg-layer {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top right, rgba(167, 139, 246, 0.06), rgba(91, 33, 182, 0.04));
    opacity: 0.35;
    transition: opacity 0.5s ease;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-bg-layer {
    opacity: 0.6;
}

body.landing-page .confidentiality-section .confidentiality-card-bg-blob {
    position: absolute;
    bottom: -5rem;
    left: -5rem;
    width: 12rem;
    height: 12rem;
    border-radius: 9999px;
    background: linear-gradient(to top right, rgba(255, 255, 255, 0.1), transparent);
    filter: blur(64px);
    opacity: 0.3;
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
    animation: confidentiality-blob-bounce 1s infinite;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-bg-blob {
    opacity: 0.5;
}

body.landing-page .confidentiality-section .confidentiality-card-bg-ping {
    position: absolute;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    animation: confidentiality-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

body.landing-page .confidentiality-section .confidentiality-card-bg-ping--tl {
    top: 2.5rem;
    left: 2.5rem;
    width: 4rem;
    height: 4rem;
    filter: blur(24px);
}

body.landing-page .confidentiality-section .confidentiality-card-bg-ping--br {
    bottom: 4rem;
    right: 4rem;
    width: 3rem;
    height: 3rem;
    filter: blur(16px);
}

body.landing-page .confidentiality-section .confidentiality-card-bg-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-12deg) translateX(100%);
    transition: transform 1s ease;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-bg-shine {
    transform: skewX(-12deg) translateX(-200%);
}

/* Contenu */
body.landing-page .confidentiality-section .confidentiality-card-body {
    position: relative;
    z-index: 10;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    min-height: 0;
}

body.landing-page .confidentiality-section .confidentiality-card-icon-wrap {
    position: relative;
    margin-bottom: 1.5rem;
}

body.landing-page .confidentiality-section .confidentiality-card-icon-ping-ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: confidentiality-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

body.landing-page .confidentiality-section .confidentiality-card-icon-pulse-ring {
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: confidentiality-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

body.landing-page .confidentiality-section .confidentiality-card-icon-bubble {
    position: relative;
    padding: 1.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    transition:
        transform 0.5s ease,
        box-shadow 0.5s ease;
}

/* Pas de rotation sur les icônes (évite l’effet « à 90° » / retourné) */
body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-icon-bubble {
    transform: scale(1.06);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.55);
}

body.landing-page .confidentiality-section .confidentiality-card-body .confidentiality-icon {
    width: 44px;
    height: 44px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.landing-page .confidentiality-section .confidentiality-card-body .confidentiality-icon svg {
    width: 44px;
    height: 44px;
    max-width: 100%;
    max-height: 100%;
}

body.landing-page .confidentiality-section .confidentiality-card-ui-title {
    margin: 0 0 1rem;
    font-family: var(--ruixen-ui), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, #e5e5e5, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: confidentiality-title-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    transition: transform 0.3s ease;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-ui-title {
    transform: scale(1.05);
}

body.landing-page .confidentiality-section .confidentiality-card-ui-desc {
    max-width: 24rem;
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Même typo que .hero-subtitle (« Restez maître de vos données ») */
body.landing-page .confidentiality-section .confidentiality-card-ui-desc p {
    margin: 0;
    font-family: var(--ruixen-ui), -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: clamp(0.75rem, 1.45vw, 0.875rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-ui-desc p {
    color: rgba(255, 255, 255, 0.82);
}

body.landing-page .confidentiality-section .confidentiality-card-ui-corner {
    position: absolute;
    width: 5rem;
    height: 5rem;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

body.landing-page .confidentiality-section .confidentiality-card-wrap:hover .confidentiality-card-ui-corner {
    opacity: 1;
}

body.landing-page .confidentiality-section .confidentiality-card-ui-corner--tl {
    top: 0;
    left: 0;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), transparent);
    border-bottom-right-radius: 1.5rem;
}

body.landing-page .confidentiality-section .confidentiality-card-ui-corner--br {
    bottom: 0;
    right: 0;
    background: linear-gradient(to top left, rgba(255, 255, 255, 0.1), transparent);
    border-top-left-radius: 1.5rem;
}

@keyframes confidentiality-blob-bounce {
    0%,
    100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes confidentiality-ping {
    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes confidentiality-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes confidentiality-title-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.92;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .confidentiality-section .confidentiality-card-wrap,
    body.landing-page .confidentiality-section .confidentiality-card-wrap:hover {
        transform: none;
    }

    body.landing-page .confidentiality-section .confidentiality-card-bg-blob,
    body.landing-page .confidentiality-section .confidentiality-card-bg-ping,
    body.landing-page .confidentiality-section .confidentiality-card-icon-ping-ring,
    body.landing-page .confidentiality-section .confidentiality-card-icon-pulse-ring,
    body.landing-page .confidentiality-section .confidentiality-card-ui-title {
        animation: none;
    }

    body.landing-page .confidentiality-section .confidentiality-card-bg-shine {
        transition: none;
        transform: skewX(-12deg) translateX(0);
    }
}

.confidentiality-title {
    font-family: 'Alike', serif;
    font-size: 3rem;
    color: white;
    margin-bottom: 0.3rem;
    letter-spacing: -0.03em;
}

.confidentiality-subtitle {
    font-family: 'SF Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
}

.confidentiality-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.confidentiality-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .confidentiality-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .confidentiality-title {
        font-size: 2rem;
    }

    .confidentiality-subtitle {
        font-size: 1.1rem;
    }

    body.landing-page .pricing-section .pricing-hub-card {
        padding: 1.15rem 1rem;
    }
}

/* FAQ Section — fond noir comme le reste ; spirale animée en violet très foncé (JS) */
.faq-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5.5rem, 14vw, 9.5rem) clamp(1.25rem, 4vw, 1.5rem) clamp(2.5rem, 6vw, 4rem);
    background: #000000;
    color: #fff;
}

.faq-spiral-layer {
    pointer-events: none;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.92;
    z-index: 0;
    -webkit-mask-image: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.5) 52%,
        rgba(255, 255, 255, 0.12) 78%,
        transparent 92%
    );
    mask-image: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.5) 52%,
        rgba(255, 255, 255, 0.12) 78%,
        transparent 92%
    );
}

.faq-spiral-root {
    max-width: min(92vw, 560px);
    width: 100%;
}

.faq-spiral-svg {
    display: block;
    width: 100%;
    height: auto;
}

.faq-container.faq-shell {
    position: relative;
    z-index: 1;
    max-width: 64rem;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.faq-header-text {
    min-width: 0;
}

.faq-title {
    margin: 0;
    font-family: var(--ruixen-display), 'Alike', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.75rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
}

.faq-subtitle {
    margin: 0.5rem 0 0;
    font-family: var(--ruixen-ui), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Landing : mêmes échelles que Confidentialité / parcours (journey-header + hero-subtitle) */
body.landing-page .faq-section .faq-title {
    font-family: var(--ruixen-display);
    font-weight: 600;
    font-size: clamp(1.55rem, 2.85vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--ruixen-fg);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
}

body.landing-page .faq-section .faq-subtitle {
    font-family: var(--ruixen-ui);
    font-size: clamp(0.75rem, 1.45vw, 0.875rem);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

body.landing-page .faq-section .faq-question-text {
    font-family: var(--ruixen-ui);
    font-size: clamp(0.8rem, 1.45vw, 0.95rem);
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: -0.015em;
}

body.landing-page .faq-section .faq-item-index {
    font-size: clamp(0.7rem, 1.25vw, 0.75rem);
}

body.landing-page .faq-section .faq-answer-inner p {
    font-family: var(--ruixen-ui);
    font-size: clamp(0.75rem, 1.45vw, 0.875rem);
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.faq-item {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.faq-item::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    -webkit-mask-image: radial-gradient(180px 180px at 50% 45%, white, transparent);
    mask-image: radial-gradient(180px 180px at 50% 45%, white, transparent);
}

.faq-item:hover::after {
    opacity: 1;
}

.faq-question-btn {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    user-select: none;
}

.faq-item-index {
    flex-shrink: 0;
    font-family: var(--ruixen-ui), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.4);
    font-variant-numeric: tabular-nums;
}

.faq-question-text {
    flex: 1;
    min-width: 0;
    font-family: var(--ruixen-ui), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.125rem);
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
}

.faq-toggle {
    flex-shrink: 0;
    margin-left: 0.5rem;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.faq-item:hover .faq-toggle {
    color: #fff;
}

.faq-answer-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-panel {
    grid-template-rows: 1fr;
    margin-top: 0.75rem;
}

.faq-answer-inner {
    overflow: hidden;
    min-height: 0;
}

.faq-answer-inner p {
    margin: 0;
    font-family: var(--ruixen-ui), -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

@media (prefers-reduced-motion: reduce) {
    .faq-answer-panel {
        transition: none;
    }
}

/* Marque AIONOS : suite du fond FAQ (#000), sans barre de séparation, pleine largeur */
body.landing-page .aionos-brand-hover-section {
    background: #000000;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
    max-height: 15vw;
}

body.landing-page .aionos-brand-hover-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    line-height: 0;
}

body.landing-page .aionos-text-hover-svg {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: top;
    overflow: visible;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

body.landing-page .aionos-text-hover-svg .aionos-th-text-base {
    font-family: var(--ruixen-ui), 'Geist Sans', ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
}

body.landing-page .aionos-text-hover-svg .aionos-th-layer-grad {
    opacity: 0.26;
    transition: opacity 0.45s ease, filter 0.4s ease;
}

body.landing-page .aionos-text-hover-svg.is-hovered .aionos-th-layer-grad {
    opacity: 0.78;
    filter: brightness(1.35) saturate(1.2);
}

body.landing-page .aionos-text-hover-svg .aionos-th-layer-ghost {
    opacity: 0;
    transition: opacity 0.4s ease, stroke 0.35s ease;
}

body.landing-page .aionos-text-hover-svg.is-hovered .aionos-th-layer-ghost {
    opacity: 0.16;
}

body.landing-page .aionos-text-hover-svg.is-hovered .aionos-th-stroke-main {
    stroke: rgba(255, 255, 255, 0.11);
    transition: stroke 0.35s ease;
}

body.landing-page .aionos-text-hover-svg .aionos-th-stroke-main {
    transition: stroke 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    body.landing-page .aionos-text-hover-svg .aionos-th-layer-ghost {
        transition: none;
    }

    body.landing-page .aionos-text-hover-svg.is-hovered .aionos-th-layer-grad {
        filter: none;
    }
}

/* Footer Styles */
.site-footer {
    background: transparent;
    position: relative;
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

/* Effet de points blancs (bruit) */
.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 70%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 200px 200px, 150px 150px, 180px 180px, 160px 160px;
    background-position: 0 0, 50px 50px, 100px 100px, 150px 150px;
    opacity: 0.6;
    pointer-events: none;
}

.footer-container {
    max-width: 1500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 8rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    justify-content: center;
    padding: 0 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    text-align: center;
    margin: 3rem 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-social-title {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', system-ui, sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-social-icons {
        gap: 0.75rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ========== Landing (index) — hero Ruixen + typo ========== */
/* Premier écran = 100 % viewport, la suite au scroll */
html:has(body.landing-page) {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html:has(body.landing-page) {
        scroll-snap-type: none;
        scroll-behavior: auto;
    }
}

/* Image de fond type 21st.dev / Ruixen — uniquement la zone hero (premier écran) */
body.landing-page .hero {
    position: relative;
    isolation: isolate;
    /* Hauteur = exactement un viewport (rien de la section suivante ne doit apparaître sans scroll) */
    height: 100vh;
    height: 100dvh;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + 4.5rem) max(1rem, env(safe-area-inset-right, 0px))
        calc(env(safe-area-inset-bottom, 0px) + 0.75rem) max(1rem, env(safe-area-inset-left, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #010105;
    background-image: url('https://pub-940ccf6255b54fa799a9b01050e6c227.r2.dev/ruixen_moon_2.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

body.landing-page #produit {
    scroll-margin-top: 0.5rem;
}

/* Voile neutre (type Ruixen) — pas de teinte violet sur l’image */
body.landing-page .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        165deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.28) 45%,
        rgba(0, 0, 0, 0.52) 100%
    );
}

body.landing-page .hero .hero-content {
    position: relative;
    z-index: 1;
    margin-top: -0.75rem;
    margin-bottom: 0;
    width: 100%;
    max-width: 46rem;
    flex: 0 1 auto;
    min-height: 0;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-eyebrow {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.88);
    margin: 0 0 0.85rem;
}

body.landing-page .hero-eyebrow {
    margin-bottom: 0.45rem;
    font-family: var(--ruixen-ui);
    color: rgba(163, 163, 163, 0.95);
}

body.landing-page .hero h1 {
    font-family: var(--ruixen-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 4.5vw, 3.15rem);
    line-height: 1.12;
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: -0.035em;
    color: var(--ruixen-fg);
    text-shadow: 0 2px 32px rgba(0, 0, 0, 0.45);
}

/* #produit : même police Geist que le hero */
body.landing-page .browse-header h2 {
    font-family: var(--ruixen-display);
    font-weight: 600;
    font-size: clamp(1.55rem, 2.85vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--ruixen-fg);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.42);
}

/* Section produit (landing) : fond #010105 — voir aussi .browse-section / .browse-shell */
body.landing-page .browse-section {
    background-color: #010105;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.landing-page .browse-shell {
    width: 100%;
    max-width: 1180px;
    margin: clamp(1rem, 2.5vw, 1.75rem) auto 0;
    box-sizing: border-box;
}

/* Sous-titres landing (hero + #produit) : même taille et même stack */
body.landing-page .hero-subtitle {
    font-family: var(--ruixen-ui);
    font-weight: 400;
    font-size: clamp(0.75rem, 1.45vw, 0.875rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    max-width: 32rem;
    margin-bottom: 0;
}

/* Deux lignes volontaires : assez de largeur pour que la 1ʳᵉ phrase tienne sur une ligne (sinon 3 lignes au total) */
body.landing-page .hero .hero-subtitle {
    max-width: min(92vw, 48rem);
}

body.landing-page .hero .hero-subtitle-line {
    display: block;
}

/* Chat hero : composant isolé (évite .chat-box / .chat-input globaux) — proche Ruixen / shadcn */
body.landing-page .hero .hero-chat-stack {
    width: 100%;
    max-width: 36rem;
    margin-top: clamp(2.9rem, 6.5vw, 4rem);
    flex-shrink: 1;
    min-height: 0;
}

.ruixen-ai-chat {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.52) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45) inset,
        0 24px 48px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s var(--ruixen-ease), box-shadow 0.25s var(--ruixen-ease);
}

.ruixen-ai-chat:focus-within {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.5) inset,
        0 28px 56px rgba(0, 0, 0, 0.5);
}

.ruixen-ai-chat__field {
    display: block;
    width: 100%;
    min-height: 3.25rem;
    max-height: 9rem;
    margin: 0;
    padding: 1rem 1rem 0.5rem;
    border: none;
    background: transparent;
    resize: none;
    box-sizing: border-box;
    font-family: var(--ruixen-ui);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: #fafafa;
    outline: none;
}

.ruixen-ai-chat__field::placeholder {
    color: #71717a;
}

.ruixen-ai-chat__field:focus::placeholder {
    color: #52525b;
}

.ruixen-ai-chat__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem 0.625rem;
}

.ruixen-ai-chat__attach {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    color: #a1a1aa;
    cursor: pointer;
    transition: background 0.2s var(--ruixen-ease), color 0.2s var(--ruixen-ease);
}

.ruixen-ai-chat__attach:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #e4e4e7;
}

/* Feedback visuel minimal si un fichier a été sélectionné */
.ruixen-ai-chat__attach[data-has-file="1"] {
    background: rgba(255, 255, 255, 0.08);
    color: #fafafa;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.ruixen-ai-chat__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 0.5rem;
    background: #fafafa;
    color: #18181b;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s var(--ruixen-ease), background 0.2s var(--ruixen-ease), opacity 0.2s var(--ruixen-ease);
}

.ruixen-ai-chat__submit:hover:not(:disabled) {
    background: #ffffff;
    transform: scale(1.04);
}

.ruixen-ai-chat__submit:active:not(:disabled) {
    transform: scale(0.98);
}

/* Inactif tant que le champ est vide (comportement type Ruixen AI) */
.ruixen-ai-chat__submit:disabled {
    background: rgba(39, 39, 42, 0.95);
    color: #71717a;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.9;
}

.ruixen-ai-chat__submit:disabled:hover {
    transform: none;
    background: rgba(39, 39, 42, 0.95);
}

/* Quick actions sous la carte (comme Ruixen) — .suggestions inchangé pour script.js */
body.landing-page .hero .quick-suggestions {
    margin-top: 0.85rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

body.landing-page .hero .quick-suggestions .suggestions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    max-width: 100%;
}

body.landing-page .hero .quick-suggestions .suggestion-chip {
    font-family: var(--ruixen-ui);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(64, 64, 64, 0.75);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.72rem;
    color: #d4d4d4;
}

body.landing-page .hero .quick-suggestions .suggestion-chip:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(115, 115, 115, 0.6);
    color: var(--ruixen-fg);
}

body.landing-page .hero .quick-suggestions .chip-icon {
    color: #737373;
}

body.landing-page .hero .quick-suggestions .more-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 999px;
    border: 1px solid rgba(64, 64, 64, 0.75);
    color: #a3a3a3;
    background: rgba(0, 0, 0, 0.35);
}

body.landing-page .hero .quick-suggestions .more-btn:hover {
    color: #e5e5e5;
    border-color: rgba(115, 115, 115, 0.6);
    background: rgba(255, 255, 255, 0.06);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62rem 1.35rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #6d28d9 0%, #4c1d95 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 18px rgba(35, 12, 65, 0.5);
}

.hero-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(45, 15, 85, 0.45);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.24);
}

.nav-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.landing-page .nav-cta-outline {
    font-family: var(--ruixen-ui);
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid rgba(64, 64, 64, 0.85);
    color: #e5e5e5;
    background: rgba(0, 0, 0, 0.25);
}

.nav-cta-outline:hover {
    background: rgba(91, 33, 182, 0.14);
    border-color: rgba(124, 58, 237, 0.32);
    color: #fff;
}

body.landing-page .nav-cta-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(115, 115, 115, 0.65);
    color: var(--ruixen-fg);
}

@media (max-width: 900px) {
    .nav-cta-outline {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btn {
        width: 100%;
    }
}
