* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.ai {
    width: 80%;
    height: 100%;
}
.hero h1 {
    margin-top: 20px;
    color: #00ff80;
    font-size: 1rem;
    position: absolute;
    right: 20px;
}
.content {
    width: 80%;
    height: 75vh;
    margin: 0 auto;
    padding: 20px;
    margin-top: 100px;
    overflow: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.content::-webkit-scrollbar {
    display: none;
}
.input-area {
    width: 40%;
    height: auto;
    padding: 20px;
    border-radius: 10px;
    background: #111541;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #00ffff;
    display: flex;
    justify-content: space-between;
}
#userInput {
    width: 80%;
    height: 50px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #252955;
    color: white;
    font-size: 1rem;
    resize: none;
    font-family: 'Courier New', Courier, monospace;
}
#userInput:focus {
    outline: none;
    border: 1px solid #00ff80;
    box-shadow: 0 0 10px rgba(0, 255, 128, 0.2);
}
#sendBtn {
    width: 10%;
    height: 50px;
    border-radius: 10px;
    border: none;
    background: #00ff80;
    color: black;
    font-size: 1rem;
    cursor: pointer;
}
#sendBtn:hover {
    color: rgb(255, 255, 255);
}
#sendBtn:active {
    background: #00ff80;
    transform: scale(1.1);
}
#welcome-screen {
    max-width: 600px;
    margin: 40px auto;
    padding: 25px;
    background: rgba(17, 21, 65, 0.7);
    border-radius: 15px;
    border-left: 4px solid #00ff80;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    animation: fadeInUp 1s ease;
}
.intro-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.intro-text p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}
.intro-text strong {
    color: #00ffff;
}
.note {
    font-style: italic;
    color: #00ff80;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
}
.suggestions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.suggestions button {
    font-size: 0.75rem;
    background: #252955;
    padding: 5px 12px;
    border-radius: 15px;
    color: #00ffff;
    border: 1px solid rgba(0, 255, 255, 0.2);
}
.suggestions button:hover {
    background: #008643;
    color: rgb(255, 255, 255);
    animation: pulse 0.5s ease-in-out;
}
.userMsg {
    background: #252955;
    color: #00ffff;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    margin-bottom: 10px;
    align-self: flex-end;
    animation: fadeInUp 0.5s ease;
}
.aiMsg {
    color: #B6B4B4;
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    margin-bottom: 10px;
    align-self: flex-start;
    animation: fadeInUp 0.5s ease;
    white-space: pre-wrap;
}
.aiMsg strong {
    color: #00ff80;
    font-weight: 800;
    font-size: 1.1rem;
}
.aiMsg ul, .aiMsg ol {
    margin: 10px 0;
    padding-left: 20px;
}
.aiMsg li {
    margin-bottom: 5px;
}
.aiMsg p {
    margin-bottom: 5px;
}
.aiMsg a {
    color: #00ffff !important;
    text-decoration: none;
    font-weight: bold;
}
.aiMsg a:hover {
    text-decoration: underline;
}
.aiMsg code {
    background-color: #1a1a1a;
    color: #00ff2a !important;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}
.aiMsg pre {
    background: #0d0d0d;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    overflow-x: auto;
    margin: 10px 0;
}
.aiMsg pre code {
    background: transparent;
    color: #e6e6e6;
    padding: 0;
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.suggestions button:active {
    background: #00ff80;
    color: black;
    transform: scale(1.1);
}
@media (max-width: 768px) {
    .input-area {
        width: 90%;
    }
    #userInput {
        width: 80%;
    }
    #sendBtn {
        width: 15%;
    }
    .ai {
        width: 100%;
    }
    .content {
        margin-top: 50px;
        width: 100%;
    }
}