```css
:root {
    --navy-950: #07111f;
    --navy-900: #0a1728;
    --navy-850: #0d1d32;
    --navy-800: #10243c;

    --accent: #FFAE00;
    --accent-light: #FFD166;

    --user-message: #102943;

    --text-primary: #f5f7fa;
    --text-secondary: rgba(245, 247, 250, 0.68);
    --text-muted: rgba(245, 247, 250, 0.42);

    --border: rgba(255, 255, 255, 0.09);
    --border-soft: rgba(255, 255, 255, 0.055);

    --radius-xl: 38px;
    --radius-lg: 24px;
    --radius-md: 20px;

    --shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 10px 30px rgba(0, 0, 0, 0.25);

    --transition:
        220ms cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   Global
   ========================================================= */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow: hidden;

    font-family:
        "Vazirmatn",
        "IRANSans",
        "Segoe UI",
        Tahoma,
        Arial,
        sans-serif;

    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(255, 174, 0, 0.045),
            transparent 32%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(20, 70, 120, 0.15),
            transparent 35%
        ),
        var(--navy-950);

    color: var(--text-primary);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}


/* =========================================================
   Neural Network
   ========================================================= */

#neural-network {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    z-index: 0;

    pointer-events: none;
}


.neural-overlay {
    position: fixed;
    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            rgba(7, 17, 31, 0.12),
            rgba(7, 17, 31, 0.42) 70%,
            rgba(3, 8, 15, 0.72)
        );

    backdrop-filter: blur(0.4px);
}


/* =========================================================
   FAQ Widget
   ========================================================= */

.faq-widget {
    position: fixed;

    width: min(410px, calc(100vw - 32px));
    height: min(680px, calc(100vh - 32px));

    right: 28px;
    bottom: 28px;

    z-index: 10;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: var(--radius-xl);

    background:
        linear-gradient(
            145deg,
            rgba(13, 29, 50, 0.88),
            rgba(5, 13, 24, 0.92)
        );

    box-shadow: var(--shadow);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    isolation: isolate;

    transition:
        opacity 280ms ease,
        transform 380ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 280ms ease;
}


.faq-widget::before {
    content: "";

    position: absolute;
    inset: -1px;

    z-index: -1;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255, 174, 0, 0.15),
            transparent 25%,
            transparent 70%,
            rgba(40, 100, 170, 0.13)
        );

    pointer-events: none;
}


/* =========================================================
   Content Layer
   ========================================================= */

.chat-content {
    position: relative;

    z-index: 3;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    min-height: 0;
}


/* =========================================================
   Header
   ========================================================= */

.chat-header {
    position: relative;

    flex-shrink: 0;

    height: 128px;
    min-height: 128px;

    padding: 0;

    display: flex;
    align-items: flex-start;

    background: transparent;
}


/* =========================================================
   Rasta Logo - Left
   ========================================================= */

.header-logo {
    position: absolute;

    left: 22px;
    top: 22px;

    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background: #ffffff;

    border:
        2px solid
        rgba(255, 255, 255, 0.85);

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.25),
        0 0 0 5px rgba(255, 255, 255, 0.035);

    z-index: 4;
}


.header-logo img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    border-radius: 50%;
}


/* =========================================================
   Yellow Curved Badge - Right
   ========================================================= */

.chat-badge {
    position: absolute;

    top: 10px;
    right: -10px;

    width: 215px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        10px
        25px
        10px
        20px;

    background:
        linear-gradient(
            135deg,
            #FFD166 0%,
            #FFAE00 58%,
            #F39A00 100%
        );

    color: #101010;

    border-radius:
        0
        0
        0
        48px;

    transform:
        rotate(-5deg);

    transform-origin:
        top right;

    box-shadow:
        -8px 10px 28px
        rgba(255, 174, 0, 0.16);

    z-index: 3;

    pointer-events: none;
}


/* =========================================================
   Badge Text
   ========================================================= */

.badge-text {
    display: block;

    direction: rtl;

    text-align: center;

    font-size: 11px;
    font-weight: 900;

    line-height: 1.7;

    white-space: nowrap;

    color: #101010;

    transform:
        rotate(5deg);
}


/* =========================================================
   Old Header Elements
   ========================================================= */

.brand-logo,
.assistant-title,
.badge-content,
.badge-logo {
    display: none !important;
}
/* =========================================================
   Close Button
   ========================================================= */

.close-chat {
    position: absolute;
    top: 18px;
    right: 18px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    background: rgba(7, 17, 31, 0.55);
    color: rgba(255, 255, 255, 0.82);

    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);

    z-index: 20;

    transition:
        transform 180ms ease,
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.close-chat span {
    display: block;
    transform: translateY(-1px);
}

.close-chat:hover {
    background: rgba(255, 174, 0, 0.92);
    border-color: rgba(255, 209, 102, 0.9);
    color: #101010;

    transform: rotate(90deg) scale(1.06);

    box-shadow: 0 7px 22px rgba(255, 174, 0, 0.25);
}

.close-chat:active {
    transform: rotate(90deg) scale(0.92);
}


/* =========================================================
   Chat Messages
   ========================================================= */

.chat-messages {
    flex: 1;

    min-height: 0;

    overflow-y: auto;
    overflow-x: hidden;

    padding:
        8px
        18px
        22px;

    display: flex;
    flex-direction: column;

    gap: 15px;

    scroll-behavior: smooth;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(255, 255, 255, 0.12)
        transparent;
}


.chat-messages::-webkit-scrollbar {
    width: 4px;
}


.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}


.chat-messages::-webkit-scrollbar-thumb {
    background:
        rgba(255, 255, 255, 0.13);

    border-radius: 20px;
}


/* =========================================================
   Message Rows
   ========================================================= */

.message-row {
    width: 100%;

    display: flex;

    animation:
        message-enter 420ms
        cubic-bezier(0.22, 1, 0.36, 1);
}


.assistant-row {
    justify-content: flex-start;
}


.user-row {
    justify-content: flex-end;
}


/* =========================================================
   Messages
   ========================================================= */

.message {
    position: relative;

    max-width: 82%;

    padding:
        13px
        17px;

    border-radius: 21px;

    font-size: 13px;
    line-height: 1.85;

    word-break: break-word;

    direction: rtl;
}


/* =========================================================
   Assistant Messages - Yellow
   ========================================================= */

.assistant-message {
    background:
        linear-gradient(
            135deg,
            #FFD166 0%,
            #FFAE00 100%
        );

    border:
        1px solid
        rgba(255, 209, 102, 0.65);

    color: #101010;

    border-top-left-radius: 7px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.18),
        0 4px 18px rgba(255, 174, 0, 0.12);
}


.assistant-message::before {
    display: none;
}


/* =========================================================
   First Welcome Message
   Navy Background + Yellow Border
   ========================================================= */

.chat-messages > .assistant-row:first-child .assistant-message {

    background:
        linear-gradient(
            145deg,
            #173554,
            #0b1c30
        );

    border:
        2px solid
        rgba(255, 174, 0, 0.90);

    color: #ffffff;

    border-top-left-radius: 7px;

    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(255, 174, 0, 0.12);
}


.chat-messages > .assistant-row:first-child .assistant-message .message-text {
    color: #ffffff;
}


.chat-messages > .assistant-row:first-child .assistant-message .message-text strong {
    color: #ffffff;

    font-weight: 900;
}


/* =========================================================
   Other Assistant Message Text
   ========================================================= */

.assistant-message .message-text {
    color: #101010;
}


.assistant-message .message-text strong {
    color: #080808;

    font-weight: 900;
}


/* =========================================================
   User Message - Navy
   ========================================================= */

.user-message {
    background:
        linear-gradient(
            145deg,
            #173554,
            #0b1c30
        );

    border:
        1px solid
        rgba(120, 170, 220, 0.14);

    color: #ffffff;

    border-top-right-radius: 7px;

    box-shadow:
        0 9px 26px
        rgba(0, 0, 0, 0.28);
}


.user-message .message-text {
    color: #ffffff;
}


.user-message .message-text strong {
    color: #ffffff;
}


/* =========================================================
   Message Text
   ========================================================= */

.message-text p {
    margin: 0;
}


.message-text p + p {
    margin-top: 8px;
}


/* =========================================================
   Typing Indicator
   ========================================================= */

.typing-row {
    display: none !important;
}


/* =========================================================
   Chat Input
   ========================================================= */

.chat-input-area {
    flex-shrink: 0;

    padding:
        13px
        16px
        16px;

    border-top: none;

    background:
        linear-gradient(
            180deg,
            rgba(4, 11, 20, 0.40),
            rgba(4, 11, 20, 0.88)
        );
}


/* =========================================================
   Input Wrapper
   ========================================================= */

.input-wrapper {
    display: flex;
    align-items: flex-end;

    min-height: 54px;

    padding:
        7px
        7px
        7px
        12px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 22px;

    /* روشن‌تر برای خوانایی بیشتر روی زمینه سرمه‌ای */
    background:
        rgba(255, 255, 255, 0.10);

    transition:
        border-color 200ms ease,
        box-shadow 200ms ease,
        background 200ms ease;
}


.input-wrapper:focus-within {
    border-color:
        rgba(255, 174, 0, 0.65);

    background:
        rgba(255, 255, 255, 0.14);

    box-shadow:
        0 0 0 3px
        rgba(255, 174, 0, 0.08);
}


/* =========================================================
   Question Input
   ========================================================= */

.question-input {
    flex: 1;

    min-width: 0;

    max-height: 100px;
    min-height: 38px;

    padding:
        8px
        4px;

    resize: none;

    border: none;
    outline: none;

    background: transparent;

    /* متن تایپ‌شده سفید */
    color: #ffffff;

    caret-color: #FFD166;

    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;

    direction: rtl;

    scrollbar-width: none;
}


.question-input::-webkit-scrollbar {
    display: none;
}


/* =========================================================
   Input Placeholder
   ========================================================= */

.question-input::placeholder {
    color: rgba(255, 255, 255, 0.68);

    opacity: 1;
}


/* =========================================================
   Send Button
   ========================================================= */

.send-question {
    flex-shrink: 0;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 14px;

    background:
        var(--accent);

    color: #17110a;

    cursor: pointer;

    box-shadow:
        0 5px 16px
        rgba(255, 174, 0, 0.22);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}


.send-question svg {
    width: 20px;
    height: 20px;
}


.send-question:hover {
    background:
        #ffc13a;

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 22px
        rgba(255, 174, 0, 0.34);
}


.send-question:active {
    transform:
        translateY(0)
        scale(0.94);
}


.send-question:disabled {
    opacity: 0.45;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   Remove Enter Hint
   ========================================================= */

.input-hint {
    display: none !important;
}


/* =========================================================
   Floating Assistant Launcher
   ========================================================= */

.assistant-launcher {
    position: fixed;

    right: 28px;
    bottom: 28px;

    width: 66px;
    height: 66px;

    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

    filter:
        drop-shadow(
            0 12px 25px
            rgba(0, 0, 0, 0.38)
        );

    transition:
        transform 280ms
        cubic-bezier(0.22, 1, 0.36, 1),
        filter 280ms ease;
}


.assistant-launcher:hover {
    transform:
        translateY(-4px)
        scale(1.05);
}


.assistant-launcher:active {
    transform:
        scale(0.94);
}


.launcher-glow {
    position: absolute;

    inset: -8px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255, 174, 0, 0.28),
            transparent 68%
        );

    animation:
        launcher-pulse 3s
        infinite ease-in-out;

    pointer-events: none;
}


.launcher-image-wrapper {
    position: relative;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    border:
        2px solid
        rgba(255, 174, 0, 0.55);

    background:
        var(--navy-900);

    box-shadow:
        0 0 0 4px
        rgba(7, 17, 31, 0.78),

        0 0 0 5px
        rgba(255, 174, 0, 0.08);
}


.launcher-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   Widget States
   ========================================================= */

.faq-widget.is-hidden {
    opacity: 0;

    visibility: hidden;

    transform:
        translateY(20px)
        scale(0.96);

    pointer-events: none;
}


.assistant-launcher.is-hidden {
    opacity: 0;

    visibility: hidden;

    transform:
        scale(0.75);

    pointer-events: none;
}


/* =========================================================
   Network Activity
   ========================================================= */

body.network-active #neural-network {
    filter:
        brightness(1.18)
        saturate(1.15);
}


body.network-active .neural-overlay {
    background:
        radial-gradient(
            circle at center,
            rgba(7, 17, 31, 0.04),
            rgba(7, 17, 31, 0.32) 65%,
            rgba(3, 8, 15, 0.65)
        );
}


body.network-active .faq-widget {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.55),
        0 0 45px rgba(255, 174, 0, 0.06);
}


/* =========================================================
   Animations
   ========================================================= */

@keyframes message-enter {

    from {
        opacity: 0;

        transform:
            translateY(9px)
            scale(0.985);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes launcher-pulse {

    0%,
    100% {
        opacity: 0.55;

        transform:
            scale(0.94);
    }

    50% {
        opacity: 0.9;

        transform:
            scale(1.08);
    }
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 700px) {

    .faq-widget {
        right: 16px;
        bottom: 16px;

        width:
            min(410px, calc(100vw - 32px));

        height:
            min(680px, calc(100vh - 32px));
    }

    .assistant-launcher {
        right: 18px;
        bottom: 18px;
    }
}


@media (max-width: 480px) {

    body {
        background:
            var(--navy-950);
    }

    .faq-widget {
        right: 0;
        bottom: 0;

        width: 100vw;
        height: 100dvh;

        max-height: none;

        border-radius: 0;
        border: none;
    }

    .chat-header {
        height: 125px;
        min-height: 125px;
    }

    .header-logo {
        left: 18px;
        top: 20px;

        width: 62px;
        height: 62px;
    }

    .chat-badge {
        top: 8px;
        right: -8px;

        width: 205px;
        height: 60px;
    }

    .chat-messages {
        padding:
            8px
            14px
            16px;
    }

    .message {
        max-width: 88%;

        font-size: 13px;
    }

    .chat-input-area {
        padding:
            10px
            12px
            calc(12px + env(safe-area-inset-bottom));
    }

    .assistant-launcher {
        right: 18px;
        bottom:
            calc(18px + env(safe-area-inset-bottom));

        width: 62px;
        height: 62px;
    }
}


/* =========================================================
   Accessibility
   ========================================================= */

button:focus-visible,
textarea:focus-visible {
    outline:
        2px solid
        rgba(255, 174, 0, 0.75);

    outline-offset: 2px;
}


/* =========================================================
   Reduced Motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
```

