* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    font-weight: bold;
    font-size: 18px;
    color: #000;
}

.header-icons {
    display: flex;
    gap: 15px;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.user-profile {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #000;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.welcome-section {
    text-align: left;
    margin-bottom: 40px;
}

.welcome-section h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.welcome-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.welcome-section p {
    color: #666;
    max-width: 600px;
}

h3 {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    margin-bottom: 15px;
}

.quick-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.option-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: transform 0.3s;
    border: 1px solid #eee;
    height: 100px;
    display: flex;
    align-items: center;
}

.option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recommendation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.recommendation-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    border: 1px solid #eee;
}

.icon {
    margin-right: 15px;
    color: #4080ff;
}

.recommendation-content {
    flex: 1;
}

.recommendation-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.action-button {
    background: none;
    border: none;
    color: #4080ff;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
    font-weight: bold;
}

.search-container {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.search-box {
    width: 300px;
    padding: 10px 15px;
    background-color: white;
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
}

.benefits-header {
    margin: 30px 0 20px;
    position: relative;
}

.benefits-header::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: #4080ff;
}

.benefits-header p {
    color: #4080ff;
    font-weight: bold;
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.benefit-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    border: 1px solid #eee;
    cursor: pointer;
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.benefit-content {
    flex: 1;
}

.benefit-content h4 {
    color: #334;
    margin-bottom: 10px;
}

.benefit-content p {
    font-size: 14px;
    color: #667;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
}

.chat-interface {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-container {
    height: 300px;
    overflow-y: auto;
    padding: 20px;
    background-color: #f9f9f9;
}

.chat-message {
    margin-bottom: 15px;
}

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

.message-bubble {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 70%;
    word-wrap: break-word;
}

.bot-message .message-bubble {
    background-color: #e9e9eb;
    color: #000;
    border-top-left-radius: 4px;
}

.user-message .message-bubble {
    background-color: #4080ff;
    color: white;
    border-top-right-radius: 4px;
}

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

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

.chat-input button {
    background: none;
    border: none;
    color: #4080ff;
    cursor: pointer;
    padding: 0 10px;
}

#attachmentButton {
    font-size: 14px;
    color: #667;
    display: flex;
    align-items: center;
    gap: 5px;
}

#sendButton {
    background-color: #4080ff;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder SVG styles */
.placeholder-svg {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .quick-options,
    .recommendation-cards,
    .benefits-cards {
        grid-template-columns: 1fr;
    }
    
    .welcome-section h1,
    .welcome-section h2 {
        font-size: 24px;
    }
}

.suggestions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.suggestion-chip {
    background-color: #eef2fd;
    border: 1px solid #d0ddff;
    border-radius: 16px;
    padding: 6px 12px;
    font-size: 14px;
    color: #4080ff;
    cursor: pointer;
    transition: background-color 0.2s;
}

.suggestion-chip:hover {
    background-color: #d0ddff;
}

.typing-dots {
    display: flex;
}

.typing-dots span {
    animation: typingDot 1s infinite ease-in-out;
    margin-right: 2px;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-4px); }
}
