:root {
    --primary: #1268f3;
    --primary-dark: #0849b8;
    --primary-light: #eaf3ff;
    --cyan: #00b8e6;
    --dark: #111827;
    --dark-soft: #344054;
    --text: #263244;
    --muted: #667085;
    --border: #e4e7ec;
    --background: #f6f8fc;
    --white: #ffffff;
    --success: #12b76a;
    --shadow-small: 0 10px 30px rgba(17, 24, 39, 0.07);
    --shadow-large: 0 28px 80px rgba(17, 24, 39, 0.13);
    --radius-small: 14px;
    --radius-medium: 22px;
    --radius-large: 32px;
    --public-width: 1200px;
    --sidebar-width: 278px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    color: inherit;
}

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

img {
    display: block;
    max-width: 100%;
}

.public-container,
.header-inner,
.footer-container {
    width: min(calc(100% - 40px), var(--public-width));
    margin: 0 auto;
}

.component-error {
    padding: 15px;
    color: #b42318;
    border: 1px solid #fecdca;
    background: #fef3f2;
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 750;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--white);
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cyan)
    );
    box-shadow: 0 13px 28px rgba(18, 104, 243, 0.24);
}

.button-primary:hover {
    box-shadow: 0 17px 38px rgba(18, 104, 243, 0.32);
}

.button-secondary {
    color: var(--text);
    border-color: var(--border);
    background: var(--white);
}

.button-secondary:hover {
    border-color: #b8c5d6;
    box-shadow: var(--shadow-small);
}

.button-white {
    color: var(--primary-dark);
    background: var(--white);
}

.button-large {
    min-height: 54px;
    padding: 14px 23px;
    border-radius: 15px;
}

.full-button {
    width: 100%;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(228, 231, 236, 0.85);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -0.5px;
}

.brand img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    object-position: center 28%;
    border-radius: 13px;
}

.brand strong {
    color: var(--primary);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 29px;
}

.main-navigation a {
    color: var(--dark-soft);
    font-size: 14px;
    font-weight: 680;
    transition: color 160ms ease;
}

.main-navigation a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector {
    height: 43px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: none;
    background: var(--white);
}

.mobile-menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--white);
    cursor: pointer;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 92px 0 88px;
    background:
        radial-gradient(
            circle at 82% 23%,
            rgba(0, 184, 230, 0.13),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 60%,
            rgba(18, 104, 243, 0.1),
            transparent 31%
        ),
        linear-gradient(180deg, #ffffff, #f5faff);
}

.hero-background {
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
        linear-gradient(
            rgba(18, 104, 243, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(18, 104, 243, 0.08) 1px,
            transparent 1px
        );
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000000, transparent 88%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(410px, 0.92fr);
    align-items: center;
    gap: 72px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    color: var(--primary-dark);
    border: 1px solid #cbdfff;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.45px;
    text-transform: uppercase;
}

.hero-badge span,
.robot-online span,
.dashboard-badge i,
.online-status i {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--success);
    box-shadow: 0 0 0 5px rgba(18, 183, 106, 0.12);
}

.hero-content h1 {
    max-width: 720px;
    margin: 24px 0 22px;
    color: var(--dark);
    font-size: clamp(48px, 5vw, 77px);
    line-height: 1.02;
    letter-spacing: -3.8px;
}

.hero-content h1 strong {
    display: block;
    color: transparent;
    background: linear-gradient(
        135deg,
        var(--primary-dark),
        var(--cyan)
    );
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-description {
    max-width: 690px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 33px;
}

.hero-statistics {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 42px;
}

.hero-statistics div {
    display: grid;
    gap: 4px;
}

.hero-statistics div + div {
    padding-left: 25px;
    border-left: 1px solid var(--border);
}

.hero-statistics strong {
    color: var(--dark);
    font-size: 17px;
}

.hero-statistics span {
    color: var(--muted);
    font-size: 11px;
}

.hero-robot-panel {
    position: relative;
    overflow: hidden;
    padding: 21px;
    border: 1px solid #d5e7fb;
    border-radius: var(--radius-large);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow-large);
    backdrop-filter: blur(20px);
}

.hero-robot-panel::before {
    position: absolute;
    top: -110px;
    left: 50%;
    width: 360px;
    height: 360px;
    content: "";
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(
        circle,
        rgba(0, 184, 230, 0.26),
        transparent 68%
    );
}

.robot-online {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    font-size: 12px;
    font-weight: 750;
}

.robot-image-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    height: 310px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 8px 0;
}

.hero-robot-image {
    width: 390px;
    max-height: 340px;
    object-fit: cover;
    object-position: center 24%;
    mix-blend-mode: multiply;
    animation: robot-float 4s ease-in-out infinite;
}

@keyframes robot-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.robot-welcome-message {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: var(--white);
}

.marcus-avatar {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    color: var(--white);
    border-radius: 12px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cyan)
    );
    font-weight: 900;
}

.robot-welcome-message p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.robot-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 11px;
}

.robot-actions a {
    padding: 12px;
    color: var(--dark-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    transition: 160ms ease;
}

.robot-actions a:hover {
    color: var(--primary-dark);
    border-color: #b6d6ff;
    background: var(--primary-light);
}

.partners-strip {
    padding: 27px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.partners-strip p {
    margin: 0 0 17px;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

.partner-names {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 44px;
}

.partner-names strong {
    color: #98a2b3;
    font-size: 17px;
}

.public-section,
.ecosystem-section,
.pricing-section,
.final-cta {
    padding: 105px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-heading span,
.final-cta-card > div > span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.75px;
    text-transform: uppercase;
}

.section-heading h2,
.final-cta-card h2 {
    margin: 12px 0 16px;
    color: var(--dark);
    font-size: clamp(35px, 4vw, 52px);
    line-height: 1.1;
    letter-spacing: -2.3px;
}

.section-heading p,
.final-cta-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.centered-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19px;
}

.feature-card {
    padding: 27px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--white);
    box-shadow: var(--shadow-small);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.feature-card-large {
    grid-row: span 2;
}

.feature-icon {
    display: grid;
    width: 49px;
    height: 49px;
    place-items: center;
    border-radius: 15px;
    background: var(--primary-light);
    font-size: 23px;
}

.feature-card h3 {
    margin: 21px 0 11px;
    color: var(--dark);
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.code-window {
    overflow: hidden;
    margin-top: 28px;
    border-radius: 17px;
    background: #101828;
    box-shadow: 0 20px 45px rgba(16, 24, 40, 0.22);
}

.code-window-top {
    display: flex;
    gap: 6px;
    padding: 13px;
    background: #1d2939;
}

.code-window-top span {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #667085;
}

.code-window pre {
    overflow-x: auto;
    margin: 0;
    padding: 24px;
    color: #a9e7ff;
    font-family: Consolas, monospace;
    font-size: 13px;
    line-height: 1.7;
}

.ecosystem-section {
    background: var(--background);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 75px;
}

.left-heading {
    margin-bottom: 35px;
}

.ecosystem-list {
    display: grid;
    gap: 14px;
}

.ecosystem-item {
    display: flex;
    gap: 15px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
}

.ecosystem-item > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 14px;
    background: var(--primary-light);
    font-size: 21px;
}

.ecosystem-item p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.ecosystem-visual {
    position: relative;
    min-height: 490px;
    border: 1px solid #d7e7fa;
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            circle at center,
            rgba(18, 104, 243, 0.15),
            transparent 42%
        ),
        var(--white);
    box-shadow: var(--shadow-large);
}

.ecosystem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 175px;
    height: 175px;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid #cce1ff;
    border-radius: 999px;
    background: var(--white);
    box-shadow: 0 20px 50px rgba(18, 104, 243, 0.2);
}

.ecosystem-center img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    object-position: center 26%;
    border-radius: 24px;
}

.ecosystem-center strong {
    margin-top: -17px;
    color: var(--dark);
}

.ecosystem-bubble {
    position: absolute;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--white);
    box-shadow: var(--shadow-small);
    font-size: 13px;
    font-weight: 750;
}

.bubble-market {
    top: 65px;
    left: 44px;
}

.bubble-delivery {
    top: 76px;
    right: 38px;
}

.bubble-translation {
    bottom: 75px;
    left: 45px;
}

.bubble-code {
    right: 43px;
    bottom: 66px;
}

.pricing-section {
    background: var(--white);
}

.pricing-grid {
    display: grid;
    max-width: 1040px;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 18px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 29px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.pricing-featured {
    color: var(--white);
    border-color: transparent;
    background: linear-gradient(
        150deg,
        #0f54ce,
        #087acb
    );
    transform: translateY(-12px);
    box-shadow: 0 30px 70px rgba(18, 104, 243, 0.28);
}

.popular-label {
    position: absolute;
    top: -13px;
    left: 50%;
    padding: 7px 13px;
    transform: translateX(-50%);
    border-radius: 999px;
    color: var(--primary-dark);
    background: #dff5ff;
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.pricing-name {
    font-size: 14px;
    font-weight: 850;
}

.pricing-price {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    min-height: 59px;
    margin: 20px 0 24px;
}

.pricing-price strong {
    color: var(--dark);
    font-size: 39px;
    letter-spacing: -2px;
}

.pricing-featured .pricing-price strong {
    color: var(--white);
}

.pricing-price span {
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
}

.pricing-featured .pricing-price span {
    color: rgba(255, 255, 255, 0.72);
}

.pricing-card ul {
    display: grid;
    flex: 1;
    gap: 12px;
    padding: 0;
    margin: 0 0 27px;
    list-style: none;
    color: var(--muted);
    font-size: 13px;
}

.pricing-featured ul {
    color: rgba(255, 255, 255, 0.85);
}

.final-cta {
    padding-top: 20px;
}

.final-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    padding: 54px;
    color: var(--white);
    border-radius: var(--radius-large);
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(85, 224, 255, 0.35),
            transparent 30%
        ),
        linear-gradient(135deg, #0c4dbd, #078bd0);
    box-shadow: 0 28px 75px rgba(18, 104, 243, 0.28);
}

.final-cta-card > div {
    max-width: 720px;
}

.final-cta-card > div > span {
    color: #bfeeff;
}

.final-cta-card h2 {
    color: var(--white);
}

.final-cta-card p {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer {
    padding: 75px 0 25px;
    color: #d0d5dd;
    background: #101828;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr repeat(3, 1fr);
    gap: 55px;
}

.footer-logo {
    color: var(--white);
}

.footer-brand p {
    max-width: 360px;
    margin: 21px 0 14px;
    color: #98a2b3;
    line-height: 1.7;
}

.footer-country {
    color: #667085;
    font-size: 12px;
}

.footer-column {
    display: grid;
    align-content: start;
    gap: 12px;
}

.footer-column strong {
    margin-bottom: 7px;
    color: var(--white);
}

.footer-column a {
    color: #98a2b3;
    font-size: 13px;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    margin-top: 55px;
    padding-top: 22px;
    color: #667085;
    border-top: 1px solid #344054;
    font-size: 12px;
}

/* Tableau de bord */

.dashboard-body {
    min-height: 100vh;
    background: var(--background);
}

.dashboard-layout {
    min-height: 100vh;
}

.dashboard-sidebar {
    position: fixed;
    z-index: 200;
    inset: 0 auto 0 0;
    display: flex;
    width: var(--sidebar-width);
    flex-direction: column;
    padding: 20px 17px;
    color: #d0d5dd;
    background:
        radial-gradient(
            circle at 40% 0,
            rgba(18, 104, 243, 0.22),
            transparent 28%
        ),
        #101828;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7px 20px;
}

.sidebar-brand .brand {
    color: var(--white);
}

.sidebar-close {
    display: none;
    border: 0;
    color: var(--white);
    background: transparent;
    font-size: 27px;
    cursor: pointer;
}

.new-conversation-button {
    display: flex;
    width: 100%;
    min-height: 47px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 21px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    color: var(--white);
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cyan)
    );
    font-weight: 750;
    cursor: pointer;
}

.sidebar-navigation {
    display: grid;
    gap: 4px;
    overflow-y: auto;
}

.sidebar-label {
    margin: 16px 10px 7px;
    color: #667085;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.9px;
    text-transform: uppercase;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 43px;
    padding: 10px 12px;
    border-radius: 11px;
    color: #98a2b3;
    font-size: 13px;
    font-weight: 650;
    transition: 160ms ease;
}

.sidebar-link span {
    display: grid;
    width: 23px;
    place-items: center;
    font-size: 16px;
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.09);
}

.sidebar-bottom {
    display: grid;
    gap: 7px;
    margin-top: auto;
}

.subscription-card {
    margin-bottom: 8px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.06);
}

.subscription-card span {
    color: #79ddff;
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.subscription-card strong {
    display: block;
    margin-top: 7px;
    color: var(--white);
    font-size: 13px;
}

.subscription-card p {
    margin: 7px 0 13px;
    color: #98a2b3;
    font-size: 11px;
    line-height: 1.5;
}

.subscription-card button {
    width: 100%;
    padding: 9px;
    border: 0;
    border-radius: 9px;
    color: var(--primary-dark);
    background: var(--white);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.dashboard-page {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.dashboard-topbar {
    position: sticky;
    z-index: 90;
    top: 0;
    display: flex;
    min-height: 83px;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 15px 31px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-small-title {
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.topbar-left h1 {
    margin: 4px 0 0;
    color: var(--dark);
    font-size: 21px;
    letter-spacing: -0.6px;
}

.sidebar-open {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--white);
    cursor: pointer;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-search {
    display: flex;
    width: 270px;
    height: 43px;
    align-items: center;
    gap: 9px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
}

.topbar-search span {
    color: var(--muted);
    font-size: 19px;
}

.topbar-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}

.icon-button {
    position: relative;
    width: 43px;
    height: 43px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
}

.notification-dot {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border: 2px solid var(--white);
    border-radius: 999px;
    background: #f04438;
}

.profile-button {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 5px 10px 5px 6px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
    cursor: pointer;
}

.profile-avatar {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    color: var(--white);
    border-radius: 11px;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cyan)
    );
    font-size: 12px;
    font-weight: 850;
}

.profile-information {
    display: grid;
    text-align: left;
}

.profile-information strong {
    color: var(--dark);
    font-size: 12px;
}

.profile-information small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 10px;
}

.dashboard-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 29px;
}

.dashboard-welcome {
    position: relative;
    display: flex;
    min-height: 255px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    padding: 42px;
    border-radius: 25px;
    color: var(--white);
    background:
        radial-gradient(
            circle at 88% 30%,
            rgba(105, 230, 255, 0.33),
            transparent 27%
        ),
        linear-gradient(135deg, #0f4ebd, #087cc8);
    box-shadow: 0 22px 55px rgba(18, 104, 243, 0.23);
}

.dashboard-welcome-content {
    position: relative;
    z-index: 2;
    max-width: 710px;
}

.dashboard-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 750;
}

.dashboard-welcome h2 {
    margin: 18px 0 12px;
    font-size: clamp(30px, 4vw, 47px);
    line-height: 1.1;
    letter-spacing: -2px;
}

.dashboard-welcome p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

.dashboard-robot {
    position: absolute;
    right: 13px;
    bottom: -75px;
    width: 325px;
    height: 325px;
    object-fit: cover;
    object-position: center 23%;
    border-radius: 40px;
    mix-blend-mode: screen;
    opacity: 0.75;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 13px;
    margin-top: 20px;
}

.dashboard-action-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 17px;
    color: var(--text);
    background: var(--white);
    box-shadow: var(--shadow-small);
    text-align: left;
    cursor: pointer;
    transition:
        transform 170ms ease,
        box-shadow 170ms ease;
}

.dashboard-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.11);
}

.dashboard-action-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 13px;
    background: var(--primary-light);
    font-size: 19px;
}

.dashboard-action-card strong {
    color: var(--dark);
    font-size: 13px;
}

.dashboard-action-card p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.dashboard-action-card i {
    position: absolute;
    top: 19px;
    right: 17px;
    color: var(--primary);
    font-style: normal;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(310px, 0.7fr);
    gap: 18px;
    margin-top: 20px;
}

.dashboard-panel {
    padding: 23px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-small);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--border);
}

.panel-heading > div > span {
    color: var(--primary);
    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
}

.panel-heading h3 {
    margin: 4px 0 0;
    color: var(--dark);
    font-size: 17px;
}

.panel-heading button {
    border: 0;
    color: var(--primary);
    background: transparent;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.online-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 11px;
}

.assistant-introduction {
    display: flex;
    min-height: 170px;
    align-items: flex-start;
    gap: 13px;
    padding: 28px 4px;
}

.assistant-introduction p {
    max-width: 660px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.dashboard-chat-form {
    display: flex;
    min-height: 57px;
    align-items: flex-end;
    gap: 9px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #fbfcfe;
}

.dashboard-chat-form textarea {
    width: 100%;
    max-height: 160px;
    resize: none;
    padding: 10px 2px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 13px;
}

.attachment-button,
.dashboard-send-button {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 0;
    border-radius: 11px;
    cursor: pointer;
}

.attachment-button {
    color: var(--muted);
    background: var(--white);
}

.dashboard-send-button {
    color: var(--white);
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--cyan)
    );
}

.assistant-disclaimer {
    display: block;
    margin-top: 9px;
    color: #98a2b3;
    font-size: 10px;
    text-align: center;
}

.empty-projects {
    display: grid;
    min-height: 260px;
    place-items: center;
    align-content: center;
    padding: 25px;
    text-align: center;
}

.empty-projects > span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 17px;
    color: var(--primary);
    background: var(--primary-light);
    font-size: 25px;
}

.empty-projects strong {
    color: var(--dark);
}

.empty-projects p {
    max-width: 260px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.dashboard-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 30px;
    color: #98a2b3;
    border-top: 1px solid var(--border);
    background: var(--white);
    font-size: 11px;
}

.dashboard-footer div {
    display: flex;
    gap: 20px;
}

.dashboard-overlay {
    display: none;
}

/* Responsive */

@media (max-width: 1180px) {
    .main-navigation {
        gap: 17px;
    }

    .hero-grid {
        gap: 40px;
    }

    .quick-action-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 960px) {
    .site-header .header-actions .button-secondary {
        display: none;
    }

    .main-navigation {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: none;
        padding: 13px;
        border: 1px solid var(--border);
        border-radius: 15px;
        background: var(--white);
        box-shadow: var(--shadow-large);
    }

    .main-navigation.mobile-navigation-open {
        display: grid;
    }

    .main-navigation a {
        padding: 12px;
        border-radius: 10px;
    }

    .main-navigation a:hover {
        background: var(--background);
    }

    .mobile-menu-button {
        display: block;
    }

    .hero-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1,
    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-buttons,
    .hero-statistics {
        justify-content: center;
    }

    .hero-robot-panel {
        width: min(100%, 580px);
        margin: 0 auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-row: auto;
    }

    .ecosystem-visual {
        min-height: 460px;
    }

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

    .pricing-featured {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 220ms ease;
    }

    .dashboard-sidebar.sidebar-mobile-open {
        transform: translateX(0);
    }

    .sidebar-close,
    .sidebar-open {
        display: block;
    }

    .dashboard-overlay {
        position: fixed;
        z-index: 150;
        inset: 0;
        background: rgba(16, 24, 40, 0.56);
    }

    .dashboard-overlay.overlay-visible {
        display: block;
    }

    .dashboard-page {
        margin-left: 0;
    }

    .dashboard-main-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .public-container,
    .header-inner,
    .footer-container {
        width: min(calc(100% - 26px), var(--public-width));
    }

    .header-actions .button-primary,
    .language-selector {
        display: none;
    }

    .hero-section {
        padding: 66px 0;
    }

    .hero-content h1 {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    .hero-statistics {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-statistics div + div {
        padding: 0;
        border: 0;
    }

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

    .final-cta-card {
        display: grid;
        padding: 35px 25px;
    }

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

    .footer-bottom {
        display: grid;
    }

    .dashboard-topbar {
        padding: 13px;
    }

    .topbar-search,
    .profile-information,
    .profile-button > span:last-child {
        display: none;
    }

    .profile-button {
        padding: 5px;
    }

    .dashboard-content {
        padding: 15px;
    }

    .dashboard-welcome {
        min-height: 315px;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .dashboard-robot {
        right: -25px;
        bottom: -100px;
        width: 260px;
        height: 260px;
        opacity: 0.48;
    }

    .quick-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dashboard-footer {
        display: grid;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        display: grid;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .robot-actions {
        grid-template-columns: 1fr;
    }

    .robot-image-wrapper {
        height: 260px;
    }

    .quick-action-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome h2 {
        font-size: 32px;
    }

    .dashboard-footer div {
        flex-wrap: wrap;
    }
}

/* Nouveaux abonnements Marcus IA */

.pricing-grid-four {
    max-width: 1380px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pricing-grid-four .pricing-card {
    min-width: 0;
}

.pricing-plan-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--background);
    font-size: 23px;
}

.starter-icon {
    background: #eafaf1;
}

.pro-icon {
    background: #eaf3ff;
}

.vip-icon {
    background: rgba(255, 255, 255, 0.14);
}

.enterprise-icon {
    background: #f2f4f7;
}

.pricing-pro {
    border-color: #b9d5ff;
    box-shadow: 0 22px 55px rgba(18, 104, 243, 0.15);
}

.pricing-description {
    min-height: 65px;
    margin: -8px 0 22px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.pricing-featured .pricing-description {
    color: rgba(255, 255, 255, 0.78);
}

.annual-price {
    display: grid;
    gap: 3px;
    margin: -13px 0 22px;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.annual-price strong {
    color: #ffffff;
    font-size: 14px;
}

.annual-price span {
    color: #a8efff;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.pricing-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
    margin-top: 35px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .pricing-grid-four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pricing-featured {
        transform: none;
    }
}

@media (max-width: 680px) {
    .pricing-grid-four {
        grid-template-columns: 1fr;
    }

    .pricing-description {
        min-height: auto;
    }

    .pricing-reassurance {
        display: grid;
        gap: 12px;
        text-align: center;
    }
}
