body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
    animation: fadeIn 1s ease-in-out;
}

header, footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    animation: slideInFromTop 1s ease-in-out;
}

header h1, header p {
    margin: 0;
}

main {
    padding: 20px;
}

.hero {
    background: url('hero-bg.jpg') no-repeat center center/cover;
    text-align: center;
    padding: 50px 0;
    color: #fff;
    animation: zoomIn 1s ease-in-out;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero button {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.hero button:hover {
    background-color: #0056b3;
}

.features {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
    animation: fadeIn 1s ease-in-out;
}

.feature {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    width: 30%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: scale(1.05);
}

.feature h3 {
    margin-top: 0;
}

.api-demo {
    text-align: center;
    animation: slideInFromBottom 1s ease-in-out;
}

#user-input {
    width: 80%;
    height: 100px;
    margin-bottom: 20px;
}

#submit-btn, #copy-btn {
    padding: 10px 20px;
    font-size: 1.2em;
    background-color: #007bff;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px;
}

#submit-btn:hover, #copy-btn:hover {
    background-color: #0056b3;
}

#response-container {
    margin-top: 20px;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

#chat-history-container {
    margin-top: 20px;
}

#chat-history {
    list-style-type: none;
    padding: 0;
}

#chat-history li {
    background-color: #fff;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
