/* Modern Chat-like Home Page Styles */

.home-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 8rem);
    padding: 4rem 2rem;
    max-width: 80rem;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease-out;
}

/* Welcome Section */
.home-welcome-section {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

.home-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.home-welcome-icon {
    color: #3b82f6;
    animation: bounceIn 0.8s ease-out;
}

.home-title,
.main-content .home-title,
.main-content h1.home-title,
h1.home-title {
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    color: #1a202c;
    margin-bottom: 0.8rem;
    animation: fadeInDown 0.6s ease-out 0.2s both;
}

.home-subtitle {
    font-size: 1.4rem;
    color: #718096;
    margin: 0;
    animation: fadeInDown 0.6s ease-out 0.3s both;
}

/* Input Section */
.home-input-section {
    width: 100%;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.home-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 0.6rem;
    padding: 1rem;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.home-input-wrapper:focus-within {
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.home-textarea {
    flex: 1;
}

.home-textarea textarea {
    border: none !important;
    background: transparent !important;
    font-size: 1.2rem !important;
    padding: 0.4rem 0 !important;
    resize: none !important;
    color: #2d3748 !important;
}

.home-textarea textarea:focus {
    outline: none !important;
    box-shadow: none !important;
}

.home-textarea textarea::placeholder {
    color: #a0aec0 !important;
}

.home-input-actions {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.home-action-btn,
.home-send-btn {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.6rem;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.home-action-btn {
    background: transparent;
    color: #718096;
}

.home-action-btn:hover {
    background: #e2e8f0;
    color: #4a5568;
}

.home-send-btn {
    background: #3b82f6;
    color: white;
}

.home-send-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 0.4rem 1.2rem rgba(59, 130, 246, 0.4);
}

.home-send-btn:active {
    transform: scale(0.95);
}

/* Footer */
.home-footer {
    width: 100%;
    text-align: center;
    animation: fadeIn 0.6s ease-out 0.5s both;
}

.home-footer-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1rem;
    color: #a0aec0;
}

.home-footer-text svg {
    flex-shrink: 0;
}

/* Dark Theme Support */

[data-theme="dark"] .home-title,
[data-theme="dark"] .main-content .home-title,
[data-theme="dark"] .main-content h1.home-title,
[data-theme="dark"] h1.home-title {
    color: #f7fafc !important;
}

[data-theme="dark"] .home-subtitle {
    color: #cbd5e0;
}

[data-theme="dark"] .home-input-wrapper {
    background: #374151;
    border-color: #4b5563;
}

[data-theme="dark"] .home-input-wrapper:focus-within {
    background: #2d3748;
    border-color: #3b82f6;
}

[data-theme="dark"] .home-textarea textarea {
    color: #f7fafc !important;
}

[data-theme="dark"] .home-textarea textarea::placeholder {
    color: #9ca3af !important;
}

[data-theme="dark"] .home-action-btn {
    color: #9ca3af;
}

[data-theme="dark"] .home-action-btn:hover {
    background: #4b5563;
    color: #e5e7eb;
}

[data-theme="dark"] .home-footer-text {
    color: #6b7280;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-page-wrapper {
        padding: 2rem 1rem;
    }

    .home-chat-container {
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }

    .home-title,
    .main-content .home-title,
    .main-content h1.home-title,
    h1.home-title {
        font-size: 4.2rem !important;
    }

    .home-subtitle {
        font-size: 1.2rem;
    }

    .home-suggestions-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .home-suggestion-card {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .home-input-wrapper {
        padding: 0.8rem;
    }

    .home-action-btn,
    .home-send-btn {
        width: 2.6rem;
        height: 2.6rem;
    }
}
