/* Base styles */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #1a202c;
    color: #f7fafc;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(45deg, #4ade80, #22d3ee);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
nav {
    backdrop-filter: blur(10px);
}

nav a {
    transition: color 0.3s ease;
}

nav a:hover {
    color: #4ade80;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4ade80;
    color: #1a202c;
}

.btn-primary:hover {
    background-color: #22c55e;
}

/* Cards */
.card {
    background-color: #2d3748;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Forms */
input[type="text"],
input[type="file"],
textarea {
    width: 100%;
    padding: 0.5rem;
    border-radius: 0.375rem;
    background-color: #4a5568;
    border: 1px solid #718096;
    color: #f7fafc;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="file"]:focus,
textarea:focus {
    outline: none;
    border-color: #4ade80;
}

/* Chat styles */
.chat-item {
    margin-bottom: 1rem;
}

.chat-prompt, .chat-response {
    border-radius: 0.375rem;
    padding: 1rem;
}

.chat-prompt {
    background: #2d3748;
    border-top-left-radius: 0.375rem;
    border-top-right-radius: 0.375rem;
}

.chat-response {
    background: #4a5568;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

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

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }
}

/* Utility classes */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.transition-all {
    transition: all 0.3s ease;
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}