/* Navigation Hub Styling */
.navigation-hub {
    padding: 40px 24px;
    height: 100vh;
    overflow-y: auto;
    width: 100%;
}

/* Inner container for content centering */
.navigation-hub-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hub-header {
    text-align: center;
    margin-bottom: 48px;
}

.hub-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(90deg, #10a37f, #1a7f64);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hub-header p {
    font-size: 20px;
    color: #ececf1;
    opacity: 0.8;
}

.navigation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.nav-card {
    background: #40414f;
    border: 1px solid #4a4a4a;
    border-radius: 16px;
    padding: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(16, 163, 127, 0.2);
    border-color: #10a37f;
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10a37f, #1a7f64);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-card:hover::before {
    transform: scaleX(1);
}

.nav-icon {
    font-size: 48px;
    color: #10a37f;
    margin-bottom: 24px;
}

.nav-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
}

.nav-content p {
    font-size: 16px;
    color: #ececf1;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.nav-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    background: rgba(16, 163, 127, 0.1);
    color: #10a37f;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(16, 163, 127, 0.2);
}

/* AI Assistant Page Styling */
.assistant-page {
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat Section for Assistant Page */
.assistant-page .chat-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.assistant-page .chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.assistant-page .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 0;
}

.assistant-page .chat-input-container {
    padding: 24px;
    background: #343541;
    border-top: 1px solid #4a4a4a;
    flex-shrink: 0;
}

.assistant-page .chat-input-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: end;
    background: #40414f;
    border-radius: 12px;
    border: 1px solid #4a4a4a;
    min-height: 56px;
}

.assistant-page #chatInput {
    flex: 1;
    padding: 16px 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    resize: none;
    outline: none;
    min-height: 24px;
    max-height: 120px;
    line-height: 1.5;
}

.assistant-page #chatInput::placeholder {
    color: #8e8ea0;
}

.assistant-page .send-button {
    padding: 12px;
    background: #10a37f;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    margin: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.assistant-page .send-button:hover {
    background: #0d8b6b;
}

.assistant-page .send-button:disabled {
    background: #4a4a4a;
    cursor: not-allowed;
}

/* Suggested Questions Styling */
.suggested-questions {
    margin-top: 16px;
    padding: 16px;
    background: rgba(16, 163, 127, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(16, 163, 127, 0.1);
}

.suggested-questions p {
    margin-bottom: 12px;
    color: #ececf1;
}

.suggested-questions ul {
    margin: 0;
    padding-left: 20px;
}

.suggested-questions li {
    margin-bottom: 8px;
    color: #ececf1;
}

.suggestion-link {
    color: #10a37f !important;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
    font-weight: 500;
}

.suggestion-link:hover {
    color: #0d8b6b !important;
    text-decoration: none;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .navigation-hub {
        padding: 24px 16px;
    }
    
    .navigation-hub-content {
        width: 100%;
    }
    
    .hub-header h1 {
        font-size: 36px;
    }
    
    .hub-header p {
        font-size: 18px;
    }
    
    .navigation-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .nav-card {
        padding: 24px;
    }
    
    .nav-icon {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .nav-content h3 {
        font-size: 24px;
    }
    
    .nav-content p {
        font-size: 15px;
    }
    
    .features-container {
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .feature-item {
        font-size: 12px;
    }
    
    .assistant-page .chat-messages {
        padding: 16px;
        gap: 20px;
    }
    
    .assistant-page .chat-input-container {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .navigation-hub {
        padding: 20px 12px;
    }
    
    .hub-header h1 {
        font-size: 28px;
    }
    
    .nav-card {
        padding: 20px;
    }
    
    .nav-content h3 {
        font-size: 20px;
    }
    
    .nav-features {
        flex-direction: column;
        gap: 6px;
    }
    
    .feature-tag {
        text-align: center;
    }
    
    .features-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
