/* General Body & Scrollbar */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0d1117;
    color: #e2e8f0;
    overflow: auto;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-thumb {
    background-color: #4c51bf;
    border-radius: 4px;
}

body::-webkit-scrollbar-track {
    background-color: #1a202c;
}

/* Gradients */
.vagus-gradient {
    background: linear-gradient(to bottom right, #00BFFF, #A020F0, #FF00FF);
}

.coming-soon-gradient {
    background: linear-gradient(to bottom, #00c6ff, #ee0979);
}

/* Buttons */
.vagus-btn {
    background-color: #6b46c1;
    transition: all 0.2s;
    border: 2px solid #f6e05e;
}

.vagus-btn:hover {
    background-color: #4c51bf;
    box-shadow: 0 10px 15px -3px rgba(107, 70, 193, 0.5), 0 4px 6px -2px rgba(107, 70, 193, 0.1);
    transform: translateY(-2px);
}

.cta-highlight-btn {
    background: linear-gradient(90deg, #f6e05e, #fbd38d);
    color: #1a202c;
    border: 2px solid #ecc94b;
    transition: all 0.2s;
}

.cta-highlight-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(246, 224, 94, 0.5), 0 4px 6px -2px rgba(246, 224, 94, 0.1);
}

/* Quiz Styles */
.quiz-option {
    transition: all 0.1s;
}

.quiz-option:hover {
    background-color: #2d3748;
    border-color: #6b46c1;
}

.btn-nav-enabled {
    background: linear-gradient(90deg, #8b5cf6, #d946ef);
    color: white;
    border: 2px solid #a78bfa;
}

.btn-nav-enabled:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-nav-disabled {
    background-color: #4a5568;
    color: #a0aec0;
    cursor: not-allowed;
    opacity: 0.7;
    border: 2px solid #718096;
}

/* Animations & Effects */
.pulse-effect {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes 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);
    }
}

.header-heartbeat {
    animation: heartbeat-glow 2.5s infinite ease-in-out;
}

@keyframes heartbeat-glow {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.9), 0 0 35px rgba(255, 0, 255, 0.9);
    }
}

/* Chatbot Styles */
.ka-assistant-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 75px;
    height: 75px;
    background: #FF007F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2000;
    border: 3px solid #8b5cf6;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: ka-pulse-gentle 3s infinite;
    overflow: hidden;
    font-size: 2.5rem;
}

.ka-heart-icon {
    animation: ka-heart-beat 1.5s infinite;
    text-shadow: 0 0 2px white, 0 0 2px white, 0 0 2px white, 0 0 2px white, 0 0 4px white;
    /* Stronger white outline */
}

.ka-notification-badge {
    position: absolute;
    top: 0px;
    right: 0px;
    background: #8b5cf6;
    /* A vibrant purple */
    color: white;
    /* White text for contrast */
    font-size: 0.7rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 2px solid white;
    z-index: 10;
}

.ka-chat-window {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 320px;
    height: 460px;
    background: white;
    border-radius: 20px;
    z-index: 1999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: ka-slideUp 0.3s ease;
    border-width: 3px;
    border-style: solid;
    border-image-slice: 1;
    border-image-source: linear-gradient(to bottom right, #00BFFF, #A020F0, #FF00FF);
}

.ka-chat-header {
    background: #FF0000;
    /* Vibrant Red as requested */
    padding: 15px;
    font-weight: bold;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ka-chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f7fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ka-chat-msg {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    max-width: 80%;
    line-height: 1.4;
}

.ka-msg-bot {
    background: #e9d5ff;
    color: #2d3748;
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.ka-msg-user {
    background: linear-gradient(to right, #8b5cf6, #d946ef);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.ka-chat-input-area {
    padding: 10px;
    border-top: 1px solid #E2E8F0;
    display: flex;
    background: white;
}

.ka-chat-input {
    flex: 1;
    border: none;
    padding: 8px;
    outline: none;
    color: #6b46c1;
    font-weight: 500;
}

.ka-chat-input::placeholder {
    color: #a0aec0;
}

.ka-chat-send {
    color: #ef4444;
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.ka-typing-indicator {
    animation: ka-pulse 1.5s infinite;
}

.ka-typing-dots {
    display: inline-flex;
    gap: 4px;
    padding: 8px 15px;
}

.ka-typing-dots span {
    width: 8px;
    height: 8px;
    background-color: #8b5cf6;
    border-radius: 50%;
    animation: ka-dot-bounce 1.4s infinite ease-in-out both;
}

.ka-typing-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.ka-typing-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.ka-typing-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes ka-dot-bounce {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes ka-pulse-gentle {

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

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

@keyframes ka-slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes ka-heart-beat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Coming Soon Page Specifics */
#particles-canvas {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}