/* Landing Page Styles for Vitamin Sales Theme - Simplified Version
-------------------------------------------------- */

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Main Chat Section */
.main-chat-section {
    padding: 3rem 0;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #4a6fdc;
}

.chat-interface {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* VS AI Chat Assistant Integration */
.chat-interface .vitawise-chat-interface {
    margin: 0;
}

.chat-interface .card {
    box-shadow: none;
    border-radius: 0;
    height: 500px;
}

.chat-interface #vs-ai-chat-assistant-messages {
    background-color: #f8f9fa;
}

.chat-interface .p-3.rounded-lg.bg-gray-100 {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 0;
}

.chat-interface .p-3.rounded-lg.bg-blue-500 {
    background-color: #4a6fdc;
    border-bottom-right-radius: 0;
}

.chat-interface .border-t.p-4 {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
    background-color: #fff;
}

.chat-interface .flex-1.h-10.px-3.py-2 {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-interface .flex-1.h-10.px-3.py-2:focus {
    border-color: #4a6fdc;
}

.chat-interface .bg-primary {
    background-color: #4a6fdc;
}

.chat-interface .hover\:bg-primary\/90:hover {
    background-color: #3a5fc9;
}

.chat-interface button {
    border-radius: 50px;
}

/* Typing indicator animation */
@keyframes vs-ai-chat-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes typing-animation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.login-register {
    margin: 1.5rem 0;
}

.login-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid #4a6fdc;
    border-radius: 50px;
    color: #4a6fdc;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

.login-link:hover {
    background-color: #4a6fdc;
    color: #fff;
}

/* Trending Products Section */
.trending-products-section {
    padding: 3rem 0;
    background-color: #fff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 200px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
}

.product-details {
    padding: 1.5rem;
}

.product-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

.product-description {
    margin: 0 0 1rem;
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #4a6fdc;
}

.product-button {
    background-color: #4a6fdc;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.product-button:hover {
    background-color: #3a5fc9;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 1.5rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Login Modal */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.login-modal.active {
    opacity: 1;
    visibility: visible;
}

.login-modal-content {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s;
}

.login-modal.active .login-modal-content {
    transform: translateY(0);
}

.login-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s;
}

.login-modal-close:hover {
    color: #333;
}

.login-modal-title {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.login-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    cursor: pointer;
    color: #6c757d;
    font-weight: 500;
    transition: color 0.2s;
}

.login-tab.active {
    color: #4a6fdc;
    border-bottom: 2px solid #4a6fdc;
}

.login-form-container {
    display: none;
}

.login-form-container.active {
    display: block;
}

.login-form {
    margin-bottom: 1rem;
}

.login-form .form-group {
    margin-bottom: 1rem;
}

.login-form .form-submit {
    margin-top: 1.5rem;
}

.login-form-footer {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.login-form-footer a {
    color: #4a6fdc;
    text-decoration: none;
}

.login-form-footer a:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #4a6fdc;
}

.form-submit {
    background-color: #4a6fdc;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    width: 100%;
}

.form-submit:hover {
    background-color: #3a5fc9;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
