
    :root {
        /* Premium Color Palette */
        --primary-50: #eef2ff;
        --primary-100: #e0e7ff;
        --primary-200: #c7d2fe;
        --primary-300: #a5b4fc;
        --primary-400: #818cf8;
        --primary-500: #6366f1;
        --primary-600: #4f46e5;
        --primary-700: #4338ca;
        --primary-800: #3730a3;
        --primary-900: #312e81;

        /* Neutral Colors */
        --neutral-50: #fafafa;
        --neutral-100: #f5f5f5;
        --neutral-200: #e5e5e5;
        --neutral-300: #d4d4d4;
        --neutral-400: #a3a3a3;
        --neutral-500: #737373;
        --neutral-600: #525252;
        --neutral-700: #404040;
        --neutral-800: #262626;
        --neutral-900: #171717;

        /* Semantic Colors */
        --success-50: #f0fdf4;
        --success-500: #22c55e;
        --success-600: #16a34a;
        --warning-50: #fffbeb;
        --warning-500: #f59e0b;
        --warning-600: #d97706;
        --error-50: #fef2f2;
        --error-500: #ef4444;
        --error-600: #dc2626;
        --info-50: #eff6ff;
        --info-500: #3b82f6;

        /* Gradients */
        --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
        --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        --gradient-success: linear-gradient(135deg, var(--success-500) 0%, var(--success-600) 100%);
        --gradient-dark: linear-gradient(135deg, var(--neutral-800) 0%, var(--neutral-900) 100%);

        /* Shadows */
        --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
        --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
        --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
        --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.3);

        /* Border Radius */
        --radius-xs: 0.25rem;
        --radius-sm: 0.375rem;
        --radius-md: 0.5rem;
        --radius-lg: 0.75rem;
        --radius-xl: 1rem;
        --radius-2xl: 1.5rem;
        --radius-3xl: 2rem;
        --radius-full: 9999px;

        /* Transitions */
        --transition-all: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-transform: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-opacity: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);

        /* Z-index */
        --z-dropdown: 1000;
        --z-sticky: 1020;
        --z-fixed: 1030;
        --z-modal-backdrop: 1040;
        --z-modal: 1050;
        --z-popover: 1060;
        --z-tooltip: 1070;
    }

    /* ===== RESET & BASE ===== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Inter', sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    /* ===== FLOATING BUTTON ===== */
    .gk-chat-btn {
        position: fixed;
        bottom: 24px;
        right: 24px;
        width: 64px;
        height: 64px;
        border-radius: var(--radius-full);
        background: var(--gradient-premium);
        border: none;
        cursor: pointer;
        box-shadow: var(--shadow-2xl), var(--shadow-glow);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-all);
        z-index: var(--z-fixed);
        animation: float 3s ease-in-out infinite;
    }

    @keyframes float {

        0%,
        100% {
            transform: translateY(0);
        }

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

    .gk-chat-btn:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 30px 60px -15px rgba(102, 126, 234, 0.5);
    }

    .gk-chat-btn:active {
        transform: scale(0.95);
    }

    .gk-chat-btn .btn-content {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gk-chat-btn img {
        width: 32px;
        height: 32px;
        filter: brightness(0) invert(1);
        transition: var(--transition-transform);
    }

    .gk-chat-btn:hover img {
        transform: scale(1.1);
    }

    /* Notification Badge */
    .gk-notification-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        min-width: 24px;
        height: 24px;
        background: var(--error-500);
        color: white;
        font-size: 12px;
        font-weight: 700;
        border-radius: var(--radius-full);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 6px;
        border: 2px solid white;
        animation: pulse 2s infinite;
        box-shadow: var(--shadow-md);
    }

    /* Ripple Effect */
    .gk-ripple {
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        animation: ripple 1.5s infinite;
    }

    @keyframes ripple {
        0% {
            transform: scale(0.8);
            opacity: 1;
        }

        100% {
            transform: scale(2);
            opacity: 0;
        }
    }

    /* ===== CHAT WINDOW ===== */
    .gk-chat-window {
        position: fixed;
        bottom: 100px;
        right: 24px;
        width: 400px;
        height: 650px;
        background: white;
        border-radius: var(--radius-2xl);
        box-shadow: var(--shadow-2xl);
        display: none;
        flex-direction: column;
        overflow: hidden;
        z-index: var(--z-modal);
        transform-origin: bottom right;
        animation: slideInUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
        border: 1px solid rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(20px);
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px) scale(0.95);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    /* ===== HEADER SECTION ===== */
    .gk-chat-header {
        background: var(--gradient-premium);
        color: white;
        padding: 24px 20px;
        position: relative;
    }

    .gk-header-content {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .gk-header-icon {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: var(--radius-lg);
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(5px);
    }

    .gk-header-icon i {
        font-size: 20px;
        color: white;
    }

    .gk-header-text {
        flex: 1;
    }

    .gk-header-title {
        font-weight: 700;
        font-size: 16px;
        margin-bottom: 2px;
        letter-spacing: -0.02em;
    }

    .gk-header-subtitle {
        font-size: 12px;
        opacity: 0.9;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .gk-status-dot {
        width: 8px;
        height: 8px;
        background: var(--success-500);
        border-radius: 50%;
        animation: blink 1.5s infinite;
    }

    @keyframes blink {

        0%,
        100% {
            opacity: 1;
        }

        50% {
            opacity: 0.5;
        }
    }

    .gk-header-actions {
        position: absolute;
        top: 20px;
        right: 20px;
        display: flex;
        gap: 8px;
    }

    .gk-header-btn {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: var(--radius-md);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition-all);
        backdrop-filter: blur(5px);
    }

    .gk-header-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

    .gk-header-btn i {
        font-size: 14px;
    }

    .gk-header-wave {
        position: absolute;
        bottom: -1px;
        left: 0;
        right: 0;
        height: 20px;
        background: white;
        border-radius: 30px 30px 0 0;
    }

    /* ===== SEARCH BAR ===== */
    .gk-search-container {
        padding: 16px 20px;
        background: white;
        border-bottom: 1px solid var(--neutral-200);
    }

    .gk-search-box {
        position: relative;
        width: 100%;
    }

    .gk-search-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--neutral-400);
        font-size: 14px;
    }

    .gk-search-input {
        width: 100%;
        padding: 12px 16px 12px 42px;
        border: 2px solid var(--neutral-200);
        border-radius: var(--radius-full);
        font-size: 14px;
        font-family: inherit;
        transition: var(--transition-all);
        background: var(--neutral-50);
    }

    .gk-search-input:focus {
        outline: none;
        border-color: var(--primary-500);
        background: white;
        box-shadow: 0 0 0 4px var(--primary-100);
    }

    .gk-search-shortcut {
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--neutral-200);
        padding: 4px 8px;
        border-radius: var(--radius-sm);
        font-size: 12px;
        color: var(--neutral-600);
        font-weight: 600;
    }

    /* ===== CHAT BODY ===== */
    .gk-chat-body {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        background: var(--neutral-50);
        scroll-behavior: smooth;
    }

    .gk-chat-body::-webkit-scrollbar {
        width: 6px;
    }

    .gk-chat-body::-webkit-scrollbar-track {
        background: var(--neutral-100);
    }

    .gk-chat-body::-webkit-scrollbar-thumb {
        background: var(--neutral-300);
        border-radius: var(--radius-full);
    }

    .gk-chat-body::-webkit-scrollbar-thumb:hover {
        background: var(--neutral-400);
    }

    /* Date Separator */
    .gk-date-separator {
        text-align: center;
        margin: 20px 0;
        position: relative;
    }

    .gk-date-separator::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        right: 0;
        height: 1px;
        background: var(--neutral-200);
        z-index: 1;
    }

    .gk-date-text {
        background: var(--neutral-100);
        padding: 6px 16px;
        border-radius: var(--radius-full);
        font-size: 12px;
        font-weight: 500;
        color: var(--neutral-600);
        position: relative;
        z-index: 2;
        display: inline-block;
    }

    /* Messages */
    .gk-message {
        display: flex;
        margin-bottom: 20px;
        animation: fadeInUp 0.3s ease;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .gk-message-avatar {
        width: 36px;
        height: 36px;
        border-radius: var(--radius-lg);
        background: var(--gradient-premium);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        margin-right: 12px;
        flex-shrink: 0;
    }

    .gk-message-avatar.user {
        background: var(--gradient-dark);
    }

    .gk-message-content {
        flex: 1;
        max-width: calc(100% - 48px);
    }

    .gk-message-bubble {
        padding: 14px 18px;
        border-radius: var(--radius-2xl);
        font-size: 14px;
        line-height: 1.5;
        position: relative;
        word-wrap: break-word;
    }

    .gk-message.bot .gk-message-bubble {
        background: white;
        border: 1px solid var(--neutral-200);
        border-bottom-left-radius: var(--radius-xs);
        color: var(--neutral-700);
        box-shadow: var(--shadow-sm);
    }

    .gk-message.user {
        flex-direction: row-reverse;
    }

    .gk-message.user .gk-message-avatar {
        margin-right: 0;
        margin-left: 12px;
    }

    .gk-message.user .gk-message-bubble {
        background: var(--gradient-primary);
        color: white;
        border-bottom-right-radius: var(--radius-xs);
    }

    .gk-message-time {
        font-size: 11px;
        color: var(--neutral-400);
        margin-top: 4px;
        margin-left: 4px;
    }

    .gk-message.user .gk-message-time {
        text-align: right;
    }

    /* Typing Indicator */
    .gk-typing {
        padding: 16px 20px;
        background: white;
        border-radius: var(--radius-2xl);
        border-bottom-left-radius: var(--radius-xs);
        display: inline-flex;
        align-items: center;
        gap: 4px;
        border: 1px solid var(--neutral-200);
    }

    .gk-typing-dot {
        width: 8px;
        height: 8px;
        background: var(--primary-400);
        border-radius: 50%;
        animation: typingBounce 1.4s infinite;
    }

    .gk-typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .gk-typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

    @keyframes typingBounce {

        0%,
        60%,
        100% {
            transform: translateY(0);
        }

        30% {
            transform: translateY(-8px);
        }
    }

    /* ===== VERIFICATION SECTION ===== */
    .gk-verification-container {
        background: white;
        border-radius: var(--radius-2xl);
        padding: 24px;
        border: 1px solid var(--neutral-200);
        box-shadow: var(--shadow-lg);
    }

    .gk-verification-icon {
        width: 64px;
        height: 64px;
        background: var(--primary-100);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 16px;
    }

    .gk-verification-icon i {
        font-size: 28px;
        color: var(--primary-600);
    }

    .gk-verification-title {
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        color: var(--neutral-800);
        margin-bottom: 8px;
    }

    .gk-verification-subtitle {
        text-align: center;
        font-size: 14px;
        color: var(--neutral-500);
        margin-bottom: 24px;
    }

    .gk-input-group {
        margin-bottom: 16px;
    }

    .gk-input-label {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: var(--neutral-700);
        margin-bottom: 6px;
    }

    .gk-input {
        width: 100%;
        padding: 14px 16px;
        border: 2px solid var(--neutral-200);
        border-radius: var(--radius-lg);
        font-size: 14px;
        font-family: inherit;
        transition: var(--transition-all);
    }

    .gk-input:focus {
        outline: none;
        border-color: var(--primary-500);
        box-shadow: 0 0 0 4px var(--primary-100);
    }

    .gk-input-error {
        border-color: var(--error-500);
    }

    .gk-input-success {
        border-color: var(--success-500);
    }

    .gk-button {
        width: 100%;
        padding: 14px 20px;
        background: var(--gradient-primary);
        color: white;
        border: none;
        border-radius: var(--radius-lg);
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        cursor: pointer;
        transition: var(--transition-all);
        position: relative;
        overflow: hidden;
    }

    .gk-button::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .gk-button:hover::before {
        width: 300px;
        height: 300px;
    }

    .gk-button:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

    .gk-button:active {
        transform: translateY(0);
    }

    .gk-button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

    .gk-button.secondary {
        background: var(--neutral-200);
        color: var(--neutral-700);
    }

    .gk-button.secondary:hover {
        background: var(--neutral-300);
    }

    /* ===== QUICK REPLIES ===== */
    .gk-quick-replies {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 16px;
    }

    .gk-quick-reply-btn {
        background: white;
        border: 2px solid var(--neutral-200);
        border-radius: var(--radius-full);
        padding: 10px 18px;
        font-size: 13px;
        font-weight: 500;
        color: var(--neutral-700);
        cursor: pointer;
        transition: var(--transition-all);
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .gk-quick-reply-btn i {
        font-size: 12px;
        color: var(--primary-500);
    }

    .gk-quick-reply-btn:hover {
        border-color: var(--primary-500);
        background: var(--primary-50);
        color: var(--primary-700);
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

    .gk-quick-reply-btn:active {
        transform: translateY(0);
    }

    /* ===== SUGGESTED ARTICLES ===== */
    .gk-suggested-articles {
        margin-top: 20px;
        border-top: 1px solid var(--neutral-200);
        padding-top: 20px;
    }

    .gk-suggested-title {
        font-size: 13px;
        font-weight: 600;
        color: var(--neutral-500);
        margin-bottom: 12px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .gk-article-card {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px;
        background: white;
        border-radius: var(--radius-lg);
        border: 1px solid var(--neutral-200);
        margin-bottom: 8px;
        cursor: pointer;
        transition: var(--transition-all);
    }

    .gk-article-card:hover {
        border-color: var(--primary-500);
        transform: translateX(4px);
        box-shadow: var(--shadow-md);
    }

    .gk-article-icon {
        width: 36px;
        height: 36px;
        background: var(--primary-100);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary-600);
    }

    .gk-article-content {
        flex: 1;
    }

    .gk-article-title {
        font-size: 14px;
        font-weight: 600;
        color: var(--neutral-800);
        margin-bottom: 4px;
    }

    .gk-article-meta {
        font-size: 12px;
        color: var(--neutral-500);
    }

    /* ===== CHAT FOOTER ===== */
    .gk-chat-footer {
        padding: 20px;
        background: white;
        border-top: 1px solid var(--neutral-200);
    }

    .gk-input-wrapper {
        display: flex;
        align-items: flex-end;
        gap: 12px;
        background: var(--neutral-50);
        border: 2px solid var(--neutral-200);
        border-radius: var(--radius-2xl);
        padding: 8px 12px;
        transition: var(--transition-all);
    }

    .gk-input-wrapper:focus-within {
        border-color: var(--primary-500);
        background: white;
        box-shadow: 0 0 0 4px var(--primary-100);
    }

    .gk-input-wrapper textarea {
        flex: 1;
        border: none;
        background: transparent;
        padding: 8px 4px;
        font-size: 14px;
        font-family: inherit;
        resize: none;
        max-height: 100px;
        min-height: 40px;
    }

    .gk-input-wrapper textarea:focus {
        outline: none;
    }

    .gk-input-wrapper textarea::placeholder {
        color: var(--neutral-400);
    }

    .gk-input-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .gk-input-action-btn {
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        border-radius: var(--radius-full);
        color: var(--neutral-400);
        cursor: pointer;
        transition: var(--transition-all);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gk-input-action-btn:hover {
        background: var(--neutral-100);
        color: var(--primary-600);
    }

    .gk-send-btn {
        width: 44px;
        height: 44px;
        background: var(--gradient-primary);
        border: none;
        border-radius: var(--radius-full);
        color: white;
        cursor: pointer;
        transition: var(--transition-all);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .gk-send-btn:hover {
        transform: scale(1.1);
        box-shadow: var(--shadow-lg);
    }

    .gk-send-btn:active {
        transform: scale(0.95);
    }

    .gk-send-btn i {
        font-size: 18px;
    }

    .gk-footer-note {
        text-align: center;
        margin-top: 12px;
        font-size: 11px;
        color: var(--neutral-400);
    }

    .gk-footer-note a {
        color: var(--primary-500);
        text-decoration: none;
        font-weight: 500;
    }

    .gk-footer-note a:hover {
        text-decoration: underline;
    }

    /* ===== EMOJI PICKER ===== */
    .gk-emoji-picker {
        display: none;
        position: absolute;
        bottom: 100%;
        right: 0;
        width: 260px;
        height: 260px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border: 1px solid #eee;
        flex-direction: column;
        overflow: hidden;
    }

    .gk-emoji-picker.show {
        display: flex;
    }

    .gk-emoji-header {
        display: flex;
        border-bottom: 1px solid #eee;
        padding: 6px;
        gap: 6px;
    }

    .gk-emoji-header button {
        border: none;
        background: none;
        font-size: 18px;
        cursor: pointer;
        padding: 4px;
    }

    .gk-emoji-body {
        flex: 1;
        overflow-y: auto;
        display: grid;
        grid-template-columns: repeat(8, 1fr);
        gap: 6px;
        padding: 10px;
    }

    .gk-emoji {
        cursor: pointer;
        font-size: 20px;
        text-align: center;
    }

    .gk-emoji:hover {
        transform: scale(1.2);
    }

    /* ===== ANIMATIONS ===== */
    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes scaleIn {
        from {
            opacity: 0;
            transform: scale(0.9);
        }

        to {
            opacity: 1;
            transform: scale(1);
        }
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 480px) {
        .gk-chat-window {
            width: 100%;
            height: 100%;
            bottom: 0;
            right: 0;
            border-radius: 0;
        }

        .gk-chat-btn {
            bottom: 16px;
            right: 16px;
        }

        .gk-header-wave {
            display: none;
        }
    }

    /* ===== LOADING STATES ===== */
    .gk-skeleton {
        background: linear-gradient(90deg, var(--neutral-200) 25%, var(--neutral-100) 50%, var(--neutral-200) 75%);
        background-size: 200% 100%;
        animation: loading 1.5s infinite;
    }

    @keyframes loading {
        0% {
            background-position: 200% 0;
        }

        100% {
            background-position: -200% 0;
        }
    }

    /* ===== TOAST NOTIFICATIONS ===== */
    .gk-toast {
        position: fixed;
        bottom: 180px;
        right: 24px;
        background: var(--neutral-800);
        color: white;
        padding: 12px 20px;
        border-radius: var(--radius-lg);
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        z-index: var(--z-tooltip);
        animation: slideInRight 0.3s ease;
        box-shadow: var(--shadow-xl);
    }

    .gk-toast.success {
        background: var(--success-600);
    }

    .gk-toast.error {
        background: var(--error-600);
    }

    .gk-toast.info {
        background: var(--info-500);
    }

    @keyframes slideInRight {
        from {
            opacity: 0;
            transform: translateX(20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes slideOutRight {
        from {
            opacity: 1;
            transform: translateX(0);
        }

        to {
            opacity: 0;
            transform: translateX(20px);
        }
    }
